> Thanks, everyone. > > So, patko, I gather poly alone should work -- I'd just multiplex > messages, so long as there are two arguments? >
Yes it's possible to pass an huge number to poly object, and then polypoly, that would be the result of multiplexed values. For example if you need 7 bit words values like in MIDI standard, second value would be multiplied by 128 and then added to the first, the third by 16384 and added to the sum of the first and the second, etc ... for demultiplexing a [mod 128] would get the first value, the second with [mod 16384]-[/ 128]-[int], etc ... I have attached this example with three values. > Hans, I gather the Rj version u_makepoly is now the newest. It's > looking great, though I ran into one hitch - right now, with the > abstraction I built it's giving me this error - > Error: Bad arguments for message 'f' to object 'objectmaker' f $1 ... > couldn't create > > Not sure what that means. (I mean, I know literally what it means, > but > not why.) Looking into it / open to someone pointing out anything > obvious. ;) > > Peter -- Patrice Colet
#N canvas 1044 378 476 437 10; #X obj 274 109 t b f; #X obj 208 167 +; #X obj 208 192 t b f; #X obj 208 223 +; #X obj 131 86 * 16384; #X obj 208 87 * 128; #X floatatom 131 54 5 0 127 0 - - -; #X floatatom 208 54 5 0 127 0 - - -; #X floatatom 274 55 5 0 127 0 - - -; #X floatatom 208 252 10 0 0 0 - - -; #X obj 208 280 t a a a; #X obj 376 320 mod 128; #X floatatom 376 361 5 0 0 0 - - -; #X obj 226 339 / 128; #X obj 226 363 int; #X obj 135 340 int; #X obj 135 316 / 16384; #X floatatom 226 386 5 0 0 0 - - -; #X floatatom 135 363 5 0 0 0 - - -; #X obj 225 314 mod 16384; #X connect 0 0 1 0; #X connect 0 1 1 1; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 2 1 3 1; #X connect 3 0 9 0; #X connect 4 0 3 0; #X connect 5 0 1 0; #X connect 6 0 4 0; #X connect 7 0 5 0; #X connect 8 0 0 0; #X connect 9 0 10 0; #X connect 10 0 16 0; #X connect 10 1 19 0; #X connect 10 2 11 0; #X connect 11 0 12 0; #X connect 13 0 14 0; #X connect 14 0 17 0; #X connect 15 0 18 0; #X connect 16 0 15 0; #X connect 19 0 13 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
