#N canvas 0 22 526 350 10; #X obj -137 -54 inlet; #X text -159 -72 input signal; #X obj -72 -54 inlet; #X obj -120 141 outlet; #X text -122 161 smoothed output; #X obj -38 67 f; #X obj -92 40 -; #X msg -92 12 1; #X obj -72 -31 t b f; #X text -73 140 y[n] = alpha y[n-1] + (1-alpha) x[n]; #X obj -120 90 *; #X obj -120 113 +; #X obj -38 89 *; #X text -14 66 y[n-1]; #X text -145 65 x[n]; #X text -164 -114 One pole lowpass for control signal; #X text -165 202 2010-03-19 Dan Ellis dpwe@ee.columbia.edu; #X obj 10 -30 inlet; #X obj -38 39 spigot; #X msg 10 11 1; #X msg -19 11 0; #X text -93 65 1-alpha; #X obj 10 -10 t b; #X obj -137 -31 t b f b f; #X text 19 30 Note: "jump" toggle is reset *before* propagating new output \, in case output triggers a "jump" input; #X text 6 -46 3rd input: jump output to next input; #X text -75 -71 2nd input: low pass coefficient alpha 0..<1; #X connect 0 0 23 0; #X connect 2 0 8 0; #X connect 5 0 12 0; #X connect 6 0 10 1; #X connect 7 0 6 0; #X connect 8 0 7 0; #X connect 8 1 6 1; #X connect 8 1 12 1; #X connect 10 0 11 0; #X connect 11 0 5 1; #X connect 11 0 3 0; #X connect 12 0 11 1; #X connect 17 0 22 0; #X connect 18 0 5 0; #X connect 19 0 18 1; #X connect 20 0 18 1; #X connect 22 0 19 0; #X connect 23 0 5 0; #X connect 23 1 10 0; #X connect 23 2 20 0; #X connect 23 3 18 0;