[PD] symbol2list leading zero

Roman Haefeli reduzent at gmail.com
Thu Nov 3 21:47:51 CET 2011


On Thu, 2011-11-03 at 13:43 -0700, Jonathan Wilkes wrote:
> ----- Original Message -----
> 
> > From: Roman Haefeli <reduzent at gmail.com>
> > To: pd-list at iem.at
> > Cc: 
> > Sent: Thursday, November 3, 2011 4:36 PM
> > Subject: Re: [PD] symbol2list leading zero
> > 
> > On Thu, 2011-11-03 at 08:33 -0700, Jonathan Wilkes wrote:
> >>  > From: Mathieu Bouchard <matju at artengine.ca>
> > 
> >>  > If someone just wants to split lists instead of converting to floats 
> > and getting 
> >>  > weird answers on pd-list, there's [gf/s2l], which does not do 
> > anything else 
> >>  > than splitting (as it is like with any string-splitter outside of 
> > pd/max).
> >> 
> >>  Once split, is there a way to convert symbol-atom "19.95" to a 
> > float?
> > 
> > Two work-arounds come to my mind:
> > 
> > 1) Send the symbol to [textfile] save it as a file, read the file again
> >    and output the result.
> > 
> > 2) Send it through a [netsend] / [netreceive] pair.
> > 
> > The former involves writing to disk, but the latter is even worse in
> > that messes up depth-first order.
> 
> I've written Pd Vanilla hacks that do it without writing to disk 

Aha.

> and posted 
> them on the list. 

Any pointers?

Roman





More information about the Pd-list mailing list