Hi,<div><br></div><div>Look iemlib - splitfilename</div><div><br></div><div>Thomas<br><br><div class="gmail_quote">2010/10/25 tania habib <span dir="ltr">&lt;<a href="mailto:taniahabib@gmail.com">taniahabib@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br><br>Currently I am stuck at one point in my multichannel recording patch. The problem is that I want to dynamically read the list of wav-files from a specific folder using a text file.<br>
For this case, I am using the textfile object. One line of the text file reads like<br>
<br>sp01_48kHz/swih7<br><br>Can there be a way of separating this line into separate strings like<br><br>&#39;sp01&#39; &#39;48kHz&#39; &#39;swih7&#39;<br><br>I need for instance the first string to create the name of wav-files to record the data.<br>

<br>In addition to that is there any conditional statement (object) in PD, which I can use to only generate the wav-files, e.g., when sp01 changes to sp02 in the text file as I have 10 utterance for every speaker and I want to store them separately?<br>

<br>I will really appreciate help in this regard <br><br>Thanks,<br><font color="#888888"><br>Tania<br><br>
</font><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><br clear="all"><br>-- <br>Matohawk alias Th-Th<br><a href="http://www.th-th.fr">www.th-th.fr</a><br>
</div>