[PD] using puredata to play playlist gapless

Jonathan Wilkes jancsika at yahoo.com
Tue Feb 19 22:22:52 CET 2013


>________________________________
> From: Scott R. Looney <scottrlooney at gmail.com>
>To: Hans-Christoph Steiner <hans at at.or.at> 
>Cc: pd-list <pd-list at iem.at> 
>Sent: Tuesday, February 19, 2013 2:32 PM
>Subject: Re: [PD] using puredata to play playlist gapless
> 
>
>there's an interesting tool that game audio folks use that does some clever prestidigitation when encoding an MP3 and generates a gapless version. it runs on a PC, but can run under Wine pretty easily. requires old fashioned WAV files for input. here's the link. the page also has a lot of detailed information on why MP3s have this issue and how the tools solves this problem:


Well, if you require WAV for input you might as well convert to OGG which AFAICT doesn't suffer
from this problem.

-Jonathan


>
>
>http://www.compuphase.com/mp3/mp3loops.htm
>
>
>
>good luck!
>
>
>scott
>
>
>
>On Tue, Feb 19, 2013 at 10:55 AM, Hans-Christoph Steiner <hans at at.or.at> wrote:
>
>
>>Pd will play all files gapless, according to their file length.  The 'gap'
>>problem mostly refers to the MP3 format, which encodes the audio in fixed
>>frame length.  So if your song doesn't fit neatly into a multiple of the fixed
>>frame length, you get a gap, i.e. the leftover part of the last frame is
>>filled with silence.  That's a problem with the MP3 format that basically all
>>other file formats don't have.
>>
>>.hc
>>
>>
>>On 02/19/2013 12:47 PM, Rick T wrote:
>>> Yes I do have the ability to change the playlist file to a text file
>>> and alter it how it looks.  The thing I'm looking for is an example of
>>> gapless playing.  I couldn't find one doing google search.
>>>
>>> Thanks
>>>
>>> On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli <reduzent at gmail.com> wrote:
>>>> On Die, 2013-02-19 at 00:31 -1000, Rick T wrote:
>>>>> Greetings All
>>>>>
>>>>> I have a playlist file (songs.pls) that I would like to play gapless
>>>>> (without the 1 second pause between tracks) can puredata due this if so is
>>>>> there and example?
>>>>
>>>> It sounds doable to me. I'd do it with [textfile] reading your playlist
>>>> which passes each line (after some message mangling) to a [readsf~]. My
>>>> only concern is the chosen file format '.pls'. Pd (natively) is pretty
>>>> bad in string parsing. If you could use your own format it would make
>>>> things a lot easier. I don't know if you have any constraints there.
>>>>
>>>> The simplest format of such a text file might be as an example:
>>>>
>>>> filename1.wav
>>>> filename2.wav
>>>> whateverfile.wav
>>>>
>>>>
>>>> Roman
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>
>>> _______________________________________________
>>> Pd-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>>
>>
>>_______________________________________________
>>Pd-list at iem.at mailing list
>>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>>
>
>_______________________________________________
>Pd-list at iem.at mailing list
>UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
>
>



More information about the Pd-list mailing list