[PD] triggering fx

Jon potaxpotax at gmail.com
Wed Jun 16 21:36:29 CEST 2010


i'm planning a patch that will listen to live acoustic instruments
(via fiddle~or sigmund~) and then trigger some effects when the
analysis objects detect certain frequencies. the catch is that i not
only want to trigger these fx: ideally the effect should be sustained
until fiddle or sigmund detect some other frequency. below is a small
piece of code that works for this (triggers at 400, stops at 500), but
i'd love to see other approaches, especially if they are less
cumbersome (because i don't wanna do this with a pair of frequencies,
but a bunch of them!)
thank you!!!


#N canvas 0 22 450 300 10;
#X obj -193 123 sel 400;
#X obj -242 149 tgl 25 0 empty empty empty 17 7 0 10 -262144 -1 -1
0 1;
#X obj -133 122 moses 400;
#X floatatom -133 74 5 0 0 0 - - -;
#X floatatom -133 156 5 0 0 0 - - -;
#X floatatom -82 156 5 0 0 0 - - -;
#X msg -193 148 \; fx 1;
#X obj -242 124 r fx;
#X msg -82 204 \; fx 0;
#X obj -82 179 sel 500;
#X text -143 29 (analysis);
#X connect 0 0 6 0;
#X connect 2 0 4 0;
#X connect 2 1 5 0;
#X connect 3 0 2 0;
#X connect 3 0 0 0;
#X connect 5 0 9 0;
#X connect 7 0 1 0;
#X connect 9 0 8 0;



More information about the Pd-list mailing list