[PD] Vanilla method for symbol -> float
antoine at metalu.net
Sat Oct 12 10:30:14 CEST 2019
you can now use a simple [f] to convert a symbol to float, e.g:
[symbol 3.$1( // generate "3.5" symbol
prints 3.5 (i.e a float)
But the most powerful related tool is [fudiparse]:
[51 46 53( // list of chars '3' '.' '5'
also prints the float 3.5.
Le sam. 12 oct. 2019 à 09:01, João Pais <jmmmpais at gmail.com> a écrit :
> Hi list,
> I was trying something without succes, and couldn't find any
> documentation for it as well.
> I wanted to split the symbol 2/4 to separate the numbers on both sides
> of the / . No problem using [list fromsymbol] and [list tosymbol] in
> doing that. But, afterwards I can't find a way of turning the symbol
> back to a float, except using an external. Is there any special hack
> somewhere for this?
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list