hi all,
is there any easy way to include symbols containing commas (generated by pyext) in a display of gem's text2d? a symbol pyext.Symbol("test,") will be displayed as "test," ... i tried to use pyext.Symbol("test\b,") instead, but this didn't work, either...
any hints?
thanks ... tim
Tim Blechmann wrote:
hi all,
is there any easy way to include symbols containing commas (generated by pyext) in a display of gem's text2d?
hm, I don't use the output of py directly, but use [textfile] to open normal textfiles and here it's working ...
this is not working, since textfile takes a comma as separator (like about everything in pd)....
anyway ... changing gem so that it doesn't use atom_string() seems to be the easiest way ...
cheers ... tim
moin Tim, moin list,
at the risk of sounding like a broken record, this is something else I've hacked with my "pd-string" externals: strings as lists of ASCII-valued floats -- I can post a patch for text2d which adds a "string" message, if you're interested.
marmosets, Bryan
On 09/21/2005 12:51:01 AM, Tim Blechmann TimBlechmann@gmx.net appears to have written:
hi all,
is there any easy way to include symbols containing commas (generated by pyext) in a display of gem's text2d? a symbol pyext.Symbol("test,") will be displayed as "test," ... i tried to use pyext.Symbol("test\b,") instead, but this didn't work, either...
any hints?
thanks ... tim
at the risk of sounding like a broken record, this is something else I've hacked with my "pd-string" externals: strings as lists of ASCII-valued floats -- I can post a patch for text2d which adds a "string" message, if you're interested.
well, it seem that a string data type in pd wouldn't be a really bad idea ... for me it wouldn't be necessary, since i fixed gem's symbol handling, but it might make sense to introduce your strings to gem's textbase class...
cheers ... tim
roight ... patch for gem-0.90.0 now available here:
http://www.ling.uni-potsdam.de/~moocow/projects/pd/#patches
marmosets, Bryan
On 09/21/2005 12:38:23 PM, Tim Blechmann TimBlechmann@gmx.net appears to have written:
at the risk of sounding like a broken record, this is something else I've hacked with my "pd-string" externals: strings as lists of ASCII-valued floats -- I can post a patch for text2d which adds a "string" message, if you're interested.
well, it seem that a string data type in pd wouldn't be a really bad idea ... for me it wouldn't be necessary, since i fixed gem's symbol handling, but it might make sense to introduce your strings to gem's textbase class...
cheers ... tim
Bryan Jurish wrote:
roight ... patch for gem-0.90.0 now available here:
thanks, i have included it in the gem-cvs
mfg.asdr. IOhannes