<div dir="ltr">Oh silly me. You need to look at the syntax for using readsf~ - it&#39;s more complicated. First, readsf~ needs an open message e.g. &quot;open 001test.wav&quot;, then it needs a &quot;1&quot; 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 &quot;open $1, 1&quot;. That&#39;ll turn into 2 messages: &quot;open 001test.wav&quot; and then &quot;1&quot;. If the files are in the same directory as the patch, it should work (I think).<div>
<br></div><div style>Cheers</div><div style>Dafydd</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 19, 2013 at 9:06 PM, Rick T <span dir="ltr">&lt;<a href="mailto:ratulloch@gmail.com" target="_blank">ratulloch@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I had my hopes up but adding the semicolon to the end didn&#39;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&#39;t even have any errors on the Puredata<br>
Log screen.  Any other ideas?<br>
<br>
Thanks<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes &lt;<a href="mailto:dafydd61@gmail.com">dafydd61@gmail.com</a>&gt; wrote:<br>
&gt; Hi Rick<br>
&gt;<br>
&gt; I think you might need a semicolon at the end of each line in your text<br>
&gt; file:<br>
&gt; 001test.wav;<br>
&gt; 002test.wav;<br>
&gt; 003test.wav;<br>
&gt;<br>
&gt; Cheers<br>
&gt; Dafydd<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Feb 19, 2013 at 8:22 PM, Rick T &lt;<a href="mailto:ratulloch@gmail.com">ratulloch@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Thanks for all the help/suggestions but I still seem to be running<br>
&gt;&gt; into a problem of it not playing the files. I made the changes to<br>
&gt;&gt; playlist file and edited the playlist.txt file<br>
&gt;&gt; the playlist.txt file has<br>
&gt;&gt; 001test.wav<br>
&gt;&gt; 002test.wav<br>
&gt;&gt; 003test.wav<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve included the the pd patch to see if someone can tell me what I&#39;m<br>
&gt;&gt; doing wrong<br>
&gt;&gt;<br>
&gt;&gt; Thanks.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli &lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; On Die, 2013-02-19 at 07:47 -1000, Rick T wrote:<br>
&gt;&gt; &gt;&gt; Yes I do have the ability to change the playlist file to a text file<br>
&gt;&gt; &gt;&gt; and alter it how it looks.  The thing I&#39;m looking for is an example of<br>
&gt;&gt; &gt;&gt; gapless playing.  I couldn&#39;t find one doing google search.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; You load your playlist (in its most simple form it would be just one<br>
&gt;&gt; &gt; filename per line) with [textfile]. You make [textfile] output its first<br>
&gt;&gt; &gt; line, feed that to [readsf~]. Then you feed the right outlet of<br>
&gt;&gt; &gt; [readsf~]  - which bangs when the file is finished - back to [textfile]<br>
&gt;&gt; &gt; to make it output the next filename.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Roman<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli &lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt;<br>
&gt;&gt; &gt;&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt; On Die, 2013-02-19 at 00:31 -1000, Rick T wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt; Greetings All<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; I have a playlist file (songs.pls) that I would like to play gapless<br>
&gt;&gt; &gt;&gt; &gt;&gt; (without the 1 second pause between tracks) can puredata due this if<br>
&gt;&gt; &gt;&gt; &gt;&gt; so is<br>
&gt;&gt; &gt;&gt; &gt;&gt; there and example?<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; It sounds doable to me. I&#39;d do it with [textfile] reading your<br>
&gt;&gt; &gt;&gt; &gt; playlist<br>
&gt;&gt; &gt;&gt; &gt; which passes each line (after some message mangling) to a [readsf~].<br>
&gt;&gt; &gt;&gt; &gt; My<br>
&gt;&gt; &gt;&gt; &gt; only concern is the chosen file format &#39;.pls&#39;. Pd (natively) is<br>
&gt;&gt; &gt;&gt; &gt; pretty<br>
&gt;&gt; &gt;&gt; &gt; bad in string parsing. If you could use your own format it would make<br>
&gt;&gt; &gt;&gt; &gt; things a lot easier. I don&#39;t know if you have any constraints there.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; The simplest format of such a text file might be as an example:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; filename1.wav<br>
&gt;&gt; &gt;&gt; &gt; filename2.wav<br>
&gt;&gt; &gt;&gt; &gt; whateverfile.wav<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Roman<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; &gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; &gt;&gt; &gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt; &gt;&gt; &gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; &gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt; &gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;&gt; UNSUBSCRIBE and account-management -&gt;<br>
&gt;&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>