Thanks so much for the help it worked!!!!
On Tue, Feb 19, 2013 at 11:11 PM, Roman Haefeli reduzent@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 dafydd61@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/n000041test.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: ----------- n000041test.wav ; ; n000042test.wav ; ; n000043test.wav ; ; n000044test.wav ; ; n000045test.wav ; ; n000046test.wav ; ; n000047test.wav ; ; n000048test.wav ; ; n000049test.wav ; ; n000050test.wav ; ;
Still trying to figure out why this won't play the files.
On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafydd61@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 ratulloch@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 dafydd61@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 ratulloch@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 reduzent@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 >> >> 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? >> >> >
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