Hey Johannes,
I did get it to work with an input list, its getting each char into a list thats giving me problems. I'm trying to use thresh from cyclone, but no matter what I set the delay to I can't get it to accumulate messages from gemkeyname and send the output as a list. It works if I click on messages to it fast, but not with the output of gemkeyname.
Thanks Ben
PS: I apologize for the list-crossing on this thread.
IOhannes m zmoelnig wrote:
B. Bogart wrote:
Thankes Johannes,
This is great for one direction, but I can't figure out how to reverse your patch to build a symbol out of a sequence of chars. An object to append a char to a symbol (not list) seems the easiest..
I'd prefer a patch solution (or existing external) before I try and write one!
hmm, do it with lists and use [l2s] (again: you can specify the delimiter via the second inlet; it defaults to " " (space), but can be set to nothing via an empty symbol)
mfg.a.sdr IOhannes
B. Bogart wrote:
Hey Johannes,
I did get it to work with an input list, its getting each char into a list thats giving me problems. I'm trying to use thresh from cyclone, but no matter what I set the delay to I can't get it to accumulate messages from gemkeyname and send the output as a list. It works if I click on messages to it fast, but not with the output of gemkeyname.
Thanks Ben
there is a lot of power in pd's built in message-systems. [add2( does the magic
mfg.a.er IOhannes
ps: it works fine with [keyname], [gemkeyname] unfortunately produces stupid ouput like "space" instead of " ". but the example will still work.
#N canvas 169 96 684 441 10; #X msg 196 156 add2 $1; #X msg 134 161 set; #X obj 164 272 l2s; #X obj 180 253 symbol; #X obj 180 234 loadbang; #X symbolatom 164 292 50 0 0 0 - - -; #X obj 164 310 print; #X msg 164 183; #X obj 166 15 keyname; #X obj 134 118 del 1000; #X obj 134 97 select 0; #X obj 134 140 t b b; #X obj 196 70 pack 0 s; #X obj 166 37 t f f; #X obj 196 112 route 1; #X obj 196 134 symbol; #X obj 196 91 spigot; #X obj 263 76 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X connect 0 0 7 0; #X connect 1 0 7 0; #X connect 2 0 5 0; #X connect 3 0 2 1; #X connect 4 0 3 0; #X connect 5 0 6 0; #X connect 7 0 2 0; #X connect 8 0 13 0; #X connect 8 1 12 1; #X connect 9 0 11 0; #X connect 10 0 9 0; #X connect 11 0 1 0; #X connect 11 1 7 0; #X connect 12 0 16 0; #X connect 13 0 10 0; #X connect 13 1 12 0; #X connect 14 0 15 0; #X connect 15 0 0 0; #X connect 16 0 14 0; #X connect 17 0 16 1;
hi Ben,
thresh accumulates only numbers, not symbols. Max gives a warning, cyclone ignores them (which is bad). I do not know, what would be better, though -- compatibly rejecting with a warning, or accepting.
Krzysztof
B. Bogart wrote: ...
list thats giving me problems. I'm trying to use thresh from cyclone, but no matter what I set the delay to I can't get it to accumulate messages from gemkeyname and send the output as a list. It works if I click on messages to it fast, but not with the output of gemkeyname.