[PD] Help needed for string manipulation in PD

thomas thiery matohawk at gmail.com
Mon Oct 25 21:13:48 CEST 2010


s2l witch lib??

2010/10/25 tim vets <timvets at gmail.com>

>
>
> 2010/10/25 tania habib <taniahabib at gmail.com>
>
> Hello,
>>
>> 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.
>> For this case, I am using the textfile object. One line of the text file
>> reads like
>>
>> sp01_48kHz/swih7
>>
>> Can there be a way of separating this line into separate strings like
>>
>> 'sp01' '48kHz' 'swih7'
>>
>> Hi Tania,
> take a look at [s2l]
> gr,
> Tim
>
>> I need for instance the first string to create the name of wav-files to
>> record the data.
>>
>> 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?
>>
>> I will really appreciate help in this regard
>>
>> Thanks,
>>
>> Tania
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
Matohawk alias Th-Th
www.th-th.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20101025/ea9f3f04/attachment.htm>


More information about the Pd-list mailing list