<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Yikes - you're right Roman - sorry. That's what I get for trying to patch in my head and not in Pd.</span><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Feb 20, 2013 at 4:11 AM, Roman Haefeli <span dir="ltr"><<a href="mailto:reduzent@gmail.com" target="_blank">reduzent@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, 2013-02-19 at 20:57 -1000, Rick T wrote:<br>
> Yes I have tried giving textfile a bang. Still no sound<br>
><br>
> I'm not sure what you mean by the second response since I get sound<br>
> when I click on the message with the single wav file hard coded in the<br>
> message box. I don't get sound when I load a playlist text file.<br>
<br>
</div>Ok. [textfile] does not prepend any selector to its output. I simply<br>
outputs 'filename.wav', but the messagebox [open $1, 1( expects a<br>
'symbol filename.wav' message. Insert a an object [symbol] between<br>
[textfile] and [open $1, 1(.<br>
<br>
I made a little sketch (see attachment) which turns out to almost<br>
identical to your version.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Roman<br>
<br>
<br>
> On Tue, Feb 19, 2013 at 6:22 PM, Dafydd Hughes <<a href="mailto:dafydd61@gmail.com">dafydd61@gmail.com</a>> wrote:<br>
> > Have you nitride giving textile a bang after opening the file?<br>
> ><br>
> > Also, the test message should be connected straight to readsf~, not to the<br>
> > message - you should hear the file played then.<br>
> ><br>
> ><br>
> > On Tuesday, February 19, 2013, Rick T wrote:<br>
> >><br>
> >> Ok I'm still having issues I uploaded an image of the PD to see if<br>
> >> someone spots something off the bat<br>
> >> <a href="http://imageshack.us/photo/my-images/12/selection007p.png/" target="_blank">http://imageshack.us/photo/my-images/12/selection007p.png/</a><br>
> >> and I've attached a text file with the debugging stuff included I can<br>
> >> hear the sound when I click on the<br>
> >> [open /tmp/test/n000041test.wav( message box<br>
> >><br>
> >> But I get no sound using the open panel to load the textfile<br>
> >> I've also attached the negplaylist.txt file and renamed everything<br>
> >> in-case I had some strange control character hiding in the file.<br>
> >><br>
> >> When I bang the [openpanel] object and clink on the [print( message<br>
> >> box above the [textfile] I get this in the PD log<br>
> >><br>
> >> --------- textfile or qlist contents: -----------<br>
> >> n000041test.wav \;<br>
> >> \;<br>
> >> n000042test.wav \;<br>
> >> \;<br>
> >> n000043test.wav \;<br>
> >> \;<br>
> >> n000044test.wav \;<br>
> >> \;<br>
> >> n000045test.wav \;<br>
> >> \;<br>
> >> n000046test.wav \;<br>
> >> \;<br>
> >> n000047test.wav \;<br>
> >> \;<br>
> >> n000048test.wav \;<br>
> >> \;<br>
> >> n000049test.wav \;<br>
> >> \;<br>
> >> n000050test.wav \;<br>
> >> \;<br>
> >><br>
> >> Still trying to figure out why this won't play the files.<br>
> >><br>
> >> On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes <<a href="mailto:dafydd61@gmail.com">dafydd61@gmail.com</a>> wrote:<br>
> >> > Oh silly me. You need to look at the syntax for using readsf~ - it's<br>
> >> > more<br>
> >> > complicated. First, readsf~ needs an open message e.g. "open<br>
> >> > 001test.wav",<br>
> >> > then it needs a "1" to start playback. Forgive me if you already know<br>
> >> > this,<br>
> >> > but you can string 2 messages together with a comma. And to get the<br>
> >> > filename<br>
> >> > from textfile into a message like that, you need to use $1 as a<br>
> >> > placeholder.<br>
> >> > So between textfile and readsf~ you need a message saying something like<br>
> >> > "open $1, 1". That'll turn into 2 messages: "open 001test.wav" and then<br>
> >> > "1".<br>
> >> > If the files are in the same directory as the patch, it should work (I<br>
> >> > think).<br>
> >> ><br>
> >> > Cheers<br>
> >> > Dafydd<br>
> >> ><br>
> >> ><br>
> >> > On Tue, Feb 19, 2013 at 9:06 PM, Rick T <<a href="mailto:ratulloch@gmail.com">ratulloch@gmail.com</a>> wrote:<br>
> >> >><br>
> >> >> I had my hopes up but adding the semicolon to the end didn't help.<br>
> >> >><br>
> >> >> I have all the files in the same directory and for whatever reason it<br>
> >> >> just refuses to play. I don't even have any errors on the Puredata<br>
> >> >> Log screen. Any other ideas?<br>
> >> >><br>
> >> >> Thanks<br>
> >> >><br>
> >> >> On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes <<a href="mailto:dafydd61@gmail.com">dafydd61@gmail.com</a>><br>
> >> >> wrote:<br>
> >> >> > Hi Rick<br>
> >> >> ><br>
> >> >> > I think you might need a semicolon at the end of each line in your<br>
> >> >> > text<br>
> >> >> > file:<br>
> >> >> > 001test.wav;<br>
> >> >> > 002test.wav;<br>
> >> >> > 003test.wav;<br>
> >> >> ><br>
> >> >> > Cheers<br>
> >> >> > Dafydd<br>
> >> >> ><br>
> >> >> ><br>
> >> >> > On Tue, Feb 19, 2013 at 8:22 PM, Rick T <<a href="mailto:ratulloch@gmail.com">ratulloch@gmail.com</a>> wrote:<br>
> >> >> >><br>
> >> >> >> Thanks for all the help/suggestions but I still seem to be running<br>
> >> >> >> into a problem of it not playing the files. I made the changes to<br>
> >> >> >> playlist file and edited the playlist.txt file<br>
> >> >> >> the playlist.txt file has<br>
> >> >> >> 001test.wav<br>
> >> >> >> 002test.wav<br>
> >> >> >> 003test.wav<br>
> >> >> >><br>
> >> >> >> I've included the the pd patch to see if someone can tell me what<br>
> >> >> >> I'm<br>
> >> >> >> doing wrong<br>
> >> >> >><br>
> >> >> >> Thanks.<br>
> >> >> >><br>
> >> >> >><br>
> >> >> >><br>
> >> >> >> On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli <<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>><br>
> >> >> >> wrote:<br>
> >> >> >> > On Die, 2013-02-19 at 07:47 -1000, Rick T wrote:<br>
> >> >> >> >> Yes I do have the ability to change the playlist file to a text<br>
> >> >> >> >> file<br>
> >> >> >> >> and alter it how it looks. The thing I'm looking for is an<br>
> >> >> >> >> example<br>
> >> >> >> >> of<br>
> >> >> >> >> gapless playing. I couldn't find one doing google search.<br>
> >> >> >> ><br>
> >> >> >> > You load your playlist (in its most simple form it would be just<br>
> >> >> >> > one<br>
> >> >> >> > filename per line) with [textfile]. You make [textfile] output its<br>
> >> >> >> > first<br>
> >> >> >> > line, feed that to [readsf~]. Then you feed the right outlet of<br>
> >> >> >> > [readsf~] - which bangs when the file is finished - back to<br>
> >> >> >> > [textfile]<br>
> >> >> >> > to make it output the next filename.<br>
> >> >> >> ><br>
> >> >> >> > Roman<br>
> >> >> >> ><br>
> >> >> >> >> On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli<br>
> >> >> >> >> <<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>><br>
> >> >> >> >> wrote:<br>
> >> >> >> >> > On Die, 2013-02-19 at 00:31 -1000, Rick T wrote:<br>
> >> >> >> >> >> Greetings All<br>
> >> >> >> >> >><br>
> >> >> >> >> >> I have a playlist file (songs.pls) that I would like to play<br>
> >> >> >> >> >> gapless<br>
> >> >> >> >> >> (without the 1 second pause between tracks) can puredata due<br>
> >> >> >> >> >> this<br>
> >> >> >> >> >> if<br>
> >> >> >> >> >> so is<br>
> >> >> >> >> >> there and example?<br>
> >> >> >> >> ><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
</div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>