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