[PD] Help needed for string manipulation in PD
Jack
jack at rybn.org
Mon Oct 25 21:14:44 CEST 2010
Hello,
See in the attached patch.
++
Jack
Le lundi 25 octobre 2010 à 20:57 +0200, tania habib a écrit :
> 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'
>
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: separation.pd
Type: application/x-extension-pd
Size: 363 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20101025/f850d1f7/attachment.bin>
More information about the Pd-list
mailing list