Loic Kessous wrote:
Hi,

I didn't found an equivalent to max external "selector~" , I made this ugly abstraction for 3 inputs but I wonder if there is something more standard and that can accept argument to set the number of inputs.

is there one?

I used 'mixer~' which is ggee to do it, so there maybe some way to do this with some scripting... or just by making a new external by code...

let me know, so I may think about making one if necessary.


hmm, i still don't know what [selector~] is supposed to do.
i guess it is something like zexy's [demux~] (forwarding a selected inlet~ to the outlet~)


the problem with scripting is, that you cannot dynamically create iolets (at least not in a way that you can re-use them); you need an external for these kind of things (unless miller finally includes [initbang] :-))


mfgasd.r
IOhannes
#N canvas 539 225 450 300 10;
#X obj 133 75 osc~ 440;
#X obj 235 43 osc~ 330;
#X obj 133 100 send~ 1-sel;
#X obj 235 98 send~ 2-sel;
#X obj 325 98 send~ 3-sel;
#X obj 325 73 noise~;
#X obj 92 218 env~;
#X floatatom 92 244 5 0 0 0 - - -;
#X obj 91 196 r~ 0-sel;
#X obj 21 101 s~ 0-sel;
#X msg 91 171 set \$1-sel;
#X obj 91 139 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X obj 236 76 *~ 0.1;
#X obj 253 224 mux~ . . . .;
#X obj 253 245 env~;
#X floatatom 253 271 5 0 0 0 - - -;
#X connect 0 0 2 0;
#X connect 0 0 13 1;
#X connect 1 0 12 0;
#X connect 5 0 4 0;
#X connect 5 0 13 3;
#X connect 6 0 7 0;
#X connect 8 0 6 0;
#X connect 10 0 8 0;
#X connect 11 0 10 0;
#X connect 11 0 13 0;
#X connect 12 0 3 0;
#X connect 12 0 13 2;
#X connect 13 0 14 0;
#X connect 14 0 15 0;

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to