On Die, 2013-02-19 at 07:47 -1000, 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.
You load your playlist (in its most simple form it would be just one filename per line) with [textfile]. You make [textfile] output its first line, feed that to [readsf~]. Then you feed the right outlet of [readsf~] - which bangs when the file is finished - back to [textfile] to make it output the next filename.
Roman
On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduzent@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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list