Re: [PD] using puredata to play playlist gapless
On Tue, 2013-02-19 at 20:57 -1000, Rick T wrote: Yes I have tried giving textfile a bang. Still no sound I'm not sure what you mean by the second response since I get sound when I click on the message with the single wav file hard coded in the message box. I don't get sound when I load a playlist text file. Ok. [textfile] does not prepend any selector to its output. I simply outputs 'filename.wav', but the messagebox [open $1, 1( expects a 'symbol filename.wav' message. Insert a an object [symbol] between [textfile] and [open $1, 1(. I made a little sketch (see attachment) which turns out to almost identical to your version. Roman On Tue, Feb 19, 2013 at 6:22 PM, Dafydd Hughes dafyd...@gmail.com wrote: Have you nitride giving textile a bang after opening the file? Also, the test message should be connected straight to readsf~, not to the message - you should hear the file played then. On Tuesday, February 19, 2013, Rick T wrote: Ok I'm still having issues I uploaded an image of the PD to see if someone spots something off the bat http://imageshack.us/photo/my-images/12/selection007p.png/ and I've attached a text file with the debugging stuff included I can hear the sound when I click on the [open /tmp/test/n41test.wav( message box But I get no sound using the open panel to load the textfile I've also attached the negplaylist.txt file and renamed everything in-case I had some strange control character hiding in the file. When I bang the [openpanel] object and clink on the [print( message box above the [textfile] I get this in the PD log - textfile or qlist contents: --- n41test.wav \; \; n42test.wav \; \; n43test.wav \; \; n44test.wav \; \; n45test.wav \; \; n46test.wav \; \; n47test.wav \; \; n48test.wav \; \; n49test.wav \; \; n50test.wav \; \; Still trying to figure out why this won't play the files. On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafyd...@gmail.com wrote: Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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 reduz...@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?
Re: [PD] using puredata to play playlist gapless
Yikes - you're right Roman - sorry. That's what I get for trying to patch in my head and not in Pd. On Wed, Feb 20, 2013 at 4:11 AM, Roman Haefeli reduz...@gmail.com wrote: On Tue, 2013-02-19 at 20:57 -1000, Rick T wrote: Yes I have tried giving textfile a bang. Still no sound I'm not sure what you mean by the second response since I get sound when I click on the message with the single wav file hard coded in the message box. I don't get sound when I load a playlist text file. Ok. [textfile] does not prepend any selector to its output. I simply outputs 'filename.wav', but the messagebox [open $1, 1( expects a 'symbol filename.wav' message. Insert a an object [symbol] between [textfile] and [open $1, 1(. I made a little sketch (see attachment) which turns out to almost identical to your version. Roman On Tue, Feb 19, 2013 at 6:22 PM, Dafydd Hughes dafyd...@gmail.com wrote: Have you nitride giving textile a bang after opening the file? Also, the test message should be connected straight to readsf~, not to the message - you should hear the file played then. On Tuesday, February 19, 2013, Rick T wrote: Ok I'm still having issues I uploaded an image of the PD to see if someone spots something off the bat http://imageshack.us/photo/my-images/12/selection007p.png/ and I've attached a text file with the debugging stuff included I can hear the sound when I click on the [open /tmp/test/n41test.wav( message box But I get no sound using the open panel to load the textfile I've also attached the negplaylist.txt file and renamed everything in-case I had some strange control character hiding in the file. When I bang the [openpanel] object and clink on the [print( message box above the [textfile] I get this in the PD log - textfile or qlist contents: --- n41test.wav \; \; n42test.wav \; \; n43test.wav \; \; n44test.wav \; \; n45test.wav \; \; n46test.wav \; \; n47test.wav \; \; n48test.wav \; \; n49test.wav \; \; n50test.wav \; \; Still trying to figure out why this won't play the files. On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafyd...@gmail.com wrote: Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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
Re: [PD] using puredata to play playlist gapless
On Feb 19, 2013, at 4:22 PM, Jonathan Wilkes wrote: From: Scott R. Looney scottrloo...@gmail.com To: Hans-Christoph Steiner h...@at.or.at Cc: pd-list pd-list@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. only MP3 has this problem, WAV does not either, as far as I know. Basically, avoid MP3 and you will have gapless playback everywhere. .hc ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Thanks so much for the help it worked On Tue, Feb 19, 2013 at 11:11 PM, Roman Haefeli reduz...@gmail.com wrote: On Tue, 2013-02-19 at 20:57 -1000, Rick T wrote: Yes I have tried giving textfile a bang. Still no sound I'm not sure what you mean by the second response since I get sound when I click on the message with the single wav file hard coded in the message box. I don't get sound when I load a playlist text file. Ok. [textfile] does not prepend any selector to its output. I simply outputs 'filename.wav', but the messagebox [open $1, 1( expects a 'symbol filename.wav' message. Insert a an object [symbol] between [textfile] and [open $1, 1(. I made a little sketch (see attachment) which turns out to almost identical to your version. Roman On Tue, Feb 19, 2013 at 6:22 PM, Dafydd Hughes dafyd...@gmail.com wrote: Have you nitride giving textile a bang after opening the file? Also, the test message should be connected straight to readsf~, not to the message - you should hear the file played then. On Tuesday, February 19, 2013, Rick T wrote: Ok I'm still having issues I uploaded an image of the PD to see if someone spots something off the bat http://imageshack.us/photo/my-images/12/selection007p.png/ and I've attached a text file with the debugging stuff included I can hear the sound when I click on the [open /tmp/test/n41test.wav( message box But I get no sound using the open panel to load the textfile I've also attached the negplaylist.txt file and renamed everything in-case I had some strange control character hiding in the file. When I bang the [openpanel] object and clink on the [print( message box above the [textfile] I get this in the PD log - textfile or qlist contents: --- n41test.wav \; \; n42test.wav \; \; n43test.wav \; \; n44test.wav \; \; n45test.wav \; \; n46test.wav \; \; n47test.wav \; \; n48test.wav \; \; n49test.wav \; \; n50test.wav \; \; Still trying to figure out why this won't play the files. On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafyd...@gmail.com wrote: Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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 reduz...@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
Re: [PD] using puredata to play playlist gapless
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
Re: [PD] using puredata to play playlist gapless
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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
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: http://www.compuphase.com/mp3/mp3loops.htm good luck! scott On Tue, Feb 19, 2013 at 10:55 AM, Hans-Christoph Steiner h...@at.or.atwrote: 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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
From: Scott R. Looney scottrloo...@gmail.com To: Hans-Christoph Steiner h...@at.or.at Cc: pd-list pd-list@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 h...@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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
agreed - Ogg is based on samples, not frames, from what i remember, but just in case the files had to be MP3 for some reason, you could set them up in this utility and get your seamless playback that way. scott On Tue, Feb 19, 2013 at 1:22 PM, Jonathan Wilkes jancs...@yahoo.com wrote: From: Scott R. Looney scottrloo...@gmail.com To: Hans-Christoph Steiner h...@at.or.at Cc: pd-list pd-list@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 h...@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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
On Die, 2013-02-19 at 13:55 -0500, Hans-Christoph Steiner 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. This is nitpicking, but actually most ways to play a sound files in Pd are not totally gapless, unless the file lengths are exactly a multiple of 64 samples. This is the case with [readsf~ ], but also with [tabplay~]. Both start only on block boundaries. The only way (I currently can think of) to play absolutely gaplessly is to use [vline]/[tabread~ ] construct. Roman 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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
- Original Message - From: Roman Haefeli reduz...@gmail.com To: pd-list@iem.at Cc: Sent: Tuesday, February 19, 2013 5:13 PM Subject: Re: [PD] using puredata to play playlist gapless On Die, 2013-02-19 at 13:55 -0500, Hans-Christoph Steiner 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. This is nitpicking, but actually most ways to play a sound files in Pd are not totally gapless, unless the file lengths are exactly a multiple of 64 samples. This is the case with [readsf~ ], but also with [tabplay~]. Both start only on block boundaries. The only way (I currently can think of) to play absolutely gaplessly is to use [vline]/[tabread~ ] construct. What about readsf~ inside a subpatch with [block~ 1]? -Jonathan Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list read_play_playlist.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Ok I'm still having issues I uploaded an image of the PD to see if someone spots something off the bat http://imageshack.us/photo/my-images/12/selection007p.png/ and I've attached a text file with the debugging stuff included I can hear the sound when I click on the [open /tmp/test/n41test.wav( message box But I get no sound using the open panel to load the textfile I've also attached the negplaylist.txt file and renamed everything in-case I had some strange control character hiding in the file. When I bang the [openpanel] object and clink on the [print( message box above the [textfile] I get this in the PD log - textfile or qlist contents: --- n41test.wav \; \; n42test.wav \; \; n43test.wav \; \; n44test.wav \; \; n45test.wav \; \; n46test.wav \; \; n47test.wav \; \; n48test.wav \; \; n49test.wav \; \; n50test.wav \; \; Still trying to figure out why this won't play the files. On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafyd...@gmail.com wrote: Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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 reduz...@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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list n41test.wav; n42test.wav; n43test.wav; n44test.wav; n45test.wav; n46test.wav; n47test.wav; n48test.wav; n49test.wav; n50test.wav; read_play_playlist.pd
Re: [PD] using puredata to play playlist gapless
Have you nitride giving textile a bang after opening the file? Also, the test message should be connected straight to readsf~, not to the message - you should hear the file played then. On Tuesday, February 19, 2013, Rick T wrote: Ok I'm still having issues I uploaded an image of the PD to see if someone spots something off the bat http://imageshack.us/photo/my-images/12/selection007p.png/ and I've attached a text file with the debugging stuff included I can hear the sound when I click on the [open /tmp/test/n41test.wav( message box But I get no sound using the open panel to load the textfile I've also attached the negplaylist.txt file and renamed everything in-case I had some strange control character hiding in the file. When I bang the [openpanel] object and clink on the [print( message box above the [textfile] I get this in the PD log - textfile or qlist contents: --- n41test.wav \; \; n42test.wav \; \; n43test.wav \; \; n44test.wav \; \; n45test.wav \; \; n46test.wav \; \; n47test.wav \; \; n48test.wav \; \; n49test.wav \; \; n50test.wav \; \; Still trying to figure out why this won't play the files. On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafyd...@gmail.com wrote: Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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 reduz...@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? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Yes I have tried giving textfile a bang. Still no sound I'm not sure what you mean by the second response since I get sound when I click on the message with the single wav file hard coded in the message box. I don't get sound when I load a playlist text file. Thanks On Tue, Feb 19, 2013 at 6:22 PM, Dafydd Hughes dafyd...@gmail.com wrote: Have you nitride giving textile a bang after opening the file? Also, the test message should be connected straight to readsf~, not to the message - you should hear the file played then. On Tuesday, February 19, 2013, Rick T wrote: Ok I'm still having issues I uploaded an image of the PD to see if someone spots something off the bat http://imageshack.us/photo/my-images/12/selection007p.png/ and I've attached a text file with the debugging stuff included I can hear the sound when I click on the [open /tmp/test/n41test.wav( message box But I get no sound using the open panel to load the textfile I've also attached the negplaylist.txt file and renamed everything in-case I had some strange control character hiding in the file. When I bang the [openpanel] object and clink on the [print( message box above the [textfile] I get this in the PD log - textfile or qlist contents: --- n41test.wav \; \; n42test.wav \; \; n43test.wav \; \; n44test.wav \; \; n45test.wav \; \; n46test.wav \; \; n47test.wav \; \; n48test.wav \; \; n49test.wav \; \; n50test.wav \; \; Still trying to figure out why this won't play the files. On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafyd...@gmail.com wrote: Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: 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 reduz...@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? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list