[PD] Help needed for string manipulation in PD
Hans-Christoph Steiner
hans at at.or.at
Tue Oct 26 15:43:36 CEST 2010
Aka [symbol2list]
.hc
On Oct 25, 2010, at 6:10 PM, brandt at subnet.at wrote:
> Zitat von "thomas thiery" <matohawk at gmail.com>:
>
>> s2l witch lib??
>
>
>
> zexy
>
>>
>> 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
>>
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----------------------------------------------------------------------------
Computer science is no more related to the computer than astronomy is
related to the telescope. -Edsger Dykstra
More information about the Pd-list
mailing list