hello for the first part you can do it with two externals and a patch  called folderglider that is outputting all the files needed in a  directory in a whole, you can find it in here:<br>  http://whats-your.name/pd/folderglider.pd<br>  The first external needed is required by folderglider and is called  tot, if you haven't got the pd-extended version you can it here:<br>  http://suita.chopin.edu.pl/~czaja/miXed/externs/toxy.html<br>  the other external is coll and would be used for storing the soundfiles  name and directories with an index for each one, you can find it in  cyclone library here:<br>  http://suita.chopin.edu.pl/~czaja/miXed/externs/cyclone.html<br>  For the second part you might do it with the bang sent by coll when it  has arrived at the end of the stored data list, but i don't know how it  could be done with a random playlist reading.<br>  I hope it helps.<br>  <br>  patco.<br>  <br><br><b><i>Elie Zananiri &lt;eliezed@videotron.ca&gt;</i></b> a
 écrit&nbsp;:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">  Hi all,<br><br>I am having some trouble creating a pd patch and I was wondering if  <br>anyone could help me out.  I'm trying to create a patch that gets  <br>input from the serial port and if the number is high enough it starts  <br>playing one of many predefined playlists at random.<br><br>I am having a couple of problems with this.<br><br>The first is that I have no idea how to create a playlist.  The way I  <br>have it going so far is that I have a chain of readsf~ and del  <br>objects opening and playing each sound in sequence but I'm sure there  <br>is a better way to do this.  Is there some sort of list object that I  <br>can populate with paths to sound files and that will go through them  <br>one at a time, waiting until they are done before going to the next one?<br><br>The second problem is that I want the part of the patch that takes 
 <br>care of initiating the playing of a playlist (random and select  <br>objects) to be disabled when one of the playlists is playing, and  <br>then enabled again once a playlist is done.  How can I do this?<br><br>I am attaching my patch so far in case anyone wants to take a look.<br><br>Thanks for the help,<br><br>-Elie<br><br><br></blockquote><br><p>
                <hr size="1" /> 
<b>Faites de Yahoo! votre page d'accueil sur le web</b> pour retrouver directement vos services préférés : vérifiez vos nouveaux mails, lancez vos recherches et suivez l'actualité en temps réel. <a href="http://us.rd.yahoo.com/mail/mail_taglines/yahoofr/*http://fr.yahoo.com/set" target=_blank>Cliquez ici</a>.