[PD] comma into a textfile

Olivier Baudu olivier at labomedia.net
Tue Jun 26 13:53:52 CEST 2012


There is this patch : http://codelab.fr/attachment.php?item=856
 From this conversation (in french) : http://codelab.fr/3084

The aim is to dynamically create :

[expr if($f1<0,1-$f1, $f1)]

and

[expr $f1;$f2]

As there are ',' and ';' maybe it will helps you...

Cheers...

01ivier


Le 26.06.2012 13:38, Jack a écrit :
> Le 26/06/2012 11:46, Mirko Maier a écrit :
>> @jack:
>>
>> thank you, that's almost the solution,
>> but I get '\\,' from makefilename. (same problem is with '\\{' )
>>
>> and it's not possible with "stripfilename" to remove the "\\". is 
>> there a solution?
>>
>> @olivier: thanks, but i am working on win xp..
>>
>> best
>> mirko
>>
>> ++++
>> jack wrote:
>>
>> Maybe, something like that ? :
>>
>> [44(
>> |
>> [makefilename %c]
>> |
>> [add hello$1 world, rewind, bang(
>> |
>> [textfile]
>> |
>> [print]
>>
>> ++
>>
>> Jack
>
> Hello,
>
> Not sure there is a way to remove \\ in front of comma with [add( and
> [textfile]
> What are you trying to do exactly ?
> If you want to avoid \\, you can create a text file with :
> hello\, world
> inside. Then you can load it with the message 'read' and the object
> [textfile], you shoukld get a nice 'hello, world'.
> Or, as OIivier said, you can use a bash script to create this text 
> file
> on the fly and load it with [textfile].
> You can also use ascii code for this problem...
> So, if you have a simple example of what you need, maybe it would be
> much easy to find a solution.
> ++
>
> Jack
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list

-- 
Une petite envie de pixel ?
http://grilledelamour.labomedia.org



More information about the Pd-list mailing list