Loic Kessous a écrit :
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?
not in vanilla.
i made a smaller abstraction. see attachment. Cyrille
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.
loic
selector~ for 3 signal inputs:
#N canvas 272 176 717 638 10; #X obj 272 391 osc~ 220; #X obj 272 411 *~ 0.1; #X obj 326 411 *~ 0.1; #X floatatom 326 368 0 0 0 0 - - -; #X floatatom 272 368 0 0 0 0 - - -; #X msg 214 338 1 $1; #X floatatom 122 266 0 0 0 0 - - -; #X floatatom 79 266 0 0 0 0 - - -; #X msg 170 337 0 $1; #X obj 326 391 osc~ 330; #X obj 257 529 dac~; #X obj 147 235 expr (1 -$i1); #X obj 390 412 *~ 0.1; #X floatatom 390 369 0 0 0 0 - - -; #X floatatom 164 264 0 0 0 0 - - -; #X msg 256 336 2 $1; #X obj 262 471 mixer~ 3; #X obj 390 392 osc~ 550; #X obj 109 174 route 0 1 2 3; #X msg 110 139 0; #X msg 140 145 1; #X msg 180 140 2; #X msg 207 144 3; #X floatatom 312 266 0 0 0 0 - - -; #X floatatom 269 266 0 0 0 0 - - -; #X obj 296 232 expr (1 -$i1); #X floatatom 354 264 0 0 0 0 - - -; #X msg 152 204 1; #X msg 297 203 1; #X floatatom 463 267 0 0 0 0 - - -; #X floatatom 420 267 0 0 0 0 - - -; #X obj 447 233 expr (1 -$i1); #X floatatom 505 265 0 0 0 0 - - -; #X msg 448 204 1; #X msg 58 225 0; #X obj 140 120 loadbang; #X obj 58 134 inlet; #X obj 315 529 outlet~; #X connect 0 0 1 0; #X connect 1 0 16 0; #X connect 2 0 16 1; #X connect 3 0 9 0; #X connect 4 0 0 0; #X connect 5 0 16 0; #X connect 6 0 5 0; #X connect 7 0 8 0; #X connect 8 0 16 0; #X connect 9 0 2 0; #X connect 11 0 6 0; #X connect 11 0 14 0; #X connect 12 0 16 2; #X connect 13 0 17 0; #X connect 14 0 15 0; #X connect 15 0 16 0; #X connect 16 0 10 0; #X connect 16 0 10 1; #X connect 17 0 12 0; #X connect 18 0 34 0; #X connect 18 1 27 0; #X connect 18 2 28 0; #X connect 18 3 33 0; #X connect 19 0 18 0; #X connect 20 0 18 0; #X connect 21 0 18 0; #X connect 22 0 18 0; #X connect 23 0 5 0; #X connect 24 0 8 0; #X connect 25 0 26 0; #X connect 25 0 24 0; #X connect 26 0 15 0; #X connect 27 0 11 0; #X connect 27 0 7 0; #X connect 28 0 25 0; #X connect 28 0 23 0; #X connect 29 0 5 0; #X connect 30 0 8 0; #X connect 31 0 30 0; #X connect 31 0 29 0; #X connect 32 0 15 0; #X connect 33 0 31 0; #X connect 33 0 32 0; #X connect 34 0 8 0; #X connect 34 0 5 0; #X connect 34 0 15 0; #X connect 35 0 20 0;
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list