[PD] [oscparse] parsing address patterns with integers differently
Frank Barknecht
fbar at footils.org
Tue Oct 28 09:21:14 CET 2014
Hi Chris,
I think, for the way back some external based on atoi(3) or atof(3) is needed.
I'm pretty sure someone has made one already. The "0" in the printed "symbol 0"
is a real symbol atom itself, just like the word "zero" would. One could
[select] it, but if you don't know what symbol-number youmight get, only atoX
can convert back, I believe. But I might be wrong ...
All the best,
--
Frank
On Sun, Oct 26, 2014 at 10:02:17PM +0800, Chris McCormick wrote:
> Hi Frank,
>
> On 13/10/14 21:40, Frank Barknecht wrote:
> > [bang(
> > |
> > [oscformat 0]
> > |
> > [oscparse]
> > |
> > [print]
> >
> > It will print "symbol 0"!
>
> Seems you can do this with "list tosymbol" and also "makefilename %d" -
> any idea how I can get from one of those symbols back to a proper float
> again? I am sure I should know this by now!
>
> Cheers,
>
> Chris.
>
> --
> http://mccormick.cx/
--
Frank Barknecht _ ______footils.org__
More information about the Pd-list
mailing list