From 57045df5fe3ec557e57dc7434ac1a07b5521bffc Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Mon, 29 Jul 2002 17:06:19 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r58, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=59 --- pd/doc/5.reference/threshold~.pd | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pd/doc/5.reference/threshold~.pd (limited to 'pd/doc/5.reference/threshold~.pd') diff --git a/pd/doc/5.reference/threshold~.pd b/pd/doc/5.reference/threshold~.pd new file mode 100644 index 00000000..5922d15b --- /dev/null +++ b/pd/doc/5.reference/threshold~.pd @@ -0,0 +1,31 @@ +#N canvas 114 43 685 360 12; +#X msg 452 58 \; pd dsp 0; +#X msg 452 24 \; pd dsp 1; +#X obj 124 11 threshold~; +#X text 200 12 - TRIGGER FROM AUDIO SIGNAL; +#X obj 49 183 sig~; +#X obj 49 261 threshold~ 10 100 0 100; +#X text 303 255 Arguments:; +#X text 384 255 1 trigger threshold; +#X floatatom 49 156 5 0 0; +#X obj 49 289 print trigger; +#X obj 205 287 print rest; +#X text 385 271 2 trigger debounce time; +#X text 385 288 3 rest threshold; +#X text 384 303 4 rest debounce time; +#X text 486 342 updated for Pd version 0.32; +#X msg 205 209 1; +#X msg 235 210 0; +#X text 12 39 threshold~ monitors its input signal and outputs bangs when the signal exceeds a specified "trigger" value \, and also when the signal recedes below a "rest" value. You can specify debounce times in milliseconds \, for the threshold~ to wait after the two event types before triggering again.; +#X msg 131 151 set 0 2000 1 2000; +#X msg 131 174 set 10 100 0 100; +#X text 262 150 "set" to change the parameters; +#X text 268 210 zero or nonszero in inlet to set the state to "high" or "low". There is no debounce period after this.; +#X connect 4 0 5 0; +#X connect 5 0 9 0; +#X connect 5 1 10 0; +#X connect 8 0 4 0; +#X connect 15 0 5 1; +#X connect 16 0 5 1; +#X connect 18 0 5 0; +#X connect 19 0 5 0; -- cgit v1.2.1