aboutsummaryrefslogtreecommitdiff
path: root/doc/help/cyclone/reson~-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/help/cyclone/reson~-help.pd')
-rw-r--r--doc/help/cyclone/reson~-help.pd36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/help/cyclone/reson~-help.pd b/doc/help/cyclone/reson~-help.pd
new file mode 100644
index 0000000..112bfdf
--- /dev/null
+++ b/doc/help/cyclone/reson~-help.pd
@@ -0,0 +1,36 @@
+#N canvas 1309 248 577 450 10;
+#X declare -lib cyclone;
+#X text 15 35 Bandpass filter controllable by center frequency and
+Q;
+#X obj 32 382 dac~;
+#X obj 32 343 *~ 0.2;
+#X floatatom 160 294 0 0 0 0 - - -;
+#X msg 133 227 200 \, 10000 4000;
+#X obj 31 210 noise~;
+#X text 36 226 input signal;
+#X text 133 211 center freq;
+#X text 88 250 gain;
+#X text 172 325 optional arguments set values of gain \, center frequency
+\, and Q (default 0 \, 0 \, 0.01);
+#X text 88 182 list sets gain \, cf \, q (works unless there are any
+signal inputs for filter parameters);
+#X text 42 316 filtered output;
+#X text 15 62 reson~ implements the following filter equation: y[n]
+= gain * (x[n] - r * x[n-2]) + c1 * y[n-1] + c2 * y[n-2] \, where r
+\, c1 \, and c2 are parameters calculated from the input center frequency
+and Q. Q is the filter bandwidth divided by center frequency. Inputs
+can be floats or signals. The specification is similar to the nres
+unit generator in cmusic.;
+#X obj 374 38 import cyclone;
+#X obj 32 294 reson~ 1 200 23;
+#X obj 133 250 Line~ 200;
+#X floatatom 60 254 0 0 0 0 - - -;
+#X text 158 276 Q: Try range of 1-100;
+#X connect 2 0 1 0;
+#X connect 2 0 1 1;
+#X connect 3 0 14 3;
+#X connect 4 0 15 0;
+#X connect 5 0 14 0;
+#X connect 14 0 2 0;
+#X connect 15 0 14 2;
+#X connect 16 0 14 1;