#N canvas 538 101 562 627 10;
#X obj 5 602 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#X obj 7 321 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 7 457 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 7 545 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 124 328 cnv 17 3 85 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 124 464 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 124 437 cnv 17 3 17 empty empty 2 5 9 0 16 -228856 -162280 0
;
#X text 184 329 signal;
#X obj 124 416 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X obj 124 484 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X obj 124 504 cnv 17 3 17 empty empty 2 5 9 0 16 -228856 -162280 0
;
#X text 108 551 1) float;
#X text 108 566 2) float;
#X obj 193 149 noise~;
#X floatatom 251 174 0 0 0 0 - - -;
#X floatatom 310 183 0 0 0 0 - - -;
#X obj 254 140 hsl 160 15 100 1000 0 0 empty empty empty -2 -8 0 10
-228856 -1 -1 0 1;
#X text 183 465 signal;
#X text 183 485 signal;
#X text 183 505 signal;
#X obj 124 524 cnv 17 3 17 empty empty 3 5 9 0 16 -228856 -162280 0
;
#X text 183 525 signal;
#X text 148 416 float/signal;
#X text 148 437 float/signal;
#X obj 163 138 vradio 15 1 1 4 empty empty empty 0 -8 0 10 -228856
-1 -1 3;
#X text 113 137 lowpass;
#X text 107 153 highpass;
#X text 107 168 bandpass;
#X text 125 183 notch;
#X text 244 465 - lowpass filter signal;
#X text 244 485 - highpass filter signal;
#X text 244 505 - bandpass filter signal;
#X text 244 525 - notch filter signal;
#X obj 313 162 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 -228856
-1 -1 0 1;
#X text 325 162 Q/resonance (0-1);
#X text 178 551 - cutoff/center frequency (Hz), f 60;
#X text 261 139 cutoff/center frequency;
#X obj 193 204 cyclone/svf~ 800 0.5;
#X text 108 582 3) symbol;
#X obj 2 3 cnv 15 553 42 empty empty empty 20 12 0 14 -233017 -66577
0;
#N canvas 0 22 450 278 (subpatch) 0;
#X coords 0 1 100 -1 554 42 1 0 0;
#X restore 2 2 graph;
#X obj 305 3 cnv 15 250 40 empty empty empty 12 13 0 18 -128992 -233080
0;
#N canvas 382 141 749 319 (subpatch) 0;
#X coords 0 -1 1 1 252 42 2 100 100;
#X restore 304 2 pd;
#X text 245 438 - sets Q/resonance (0-1);
#X text 245 417 - sets cutoff/center frequency;
#X text 178 583 - sets frequency mode: <hz> (default) \, <linear> or
<radians>;
#X text 245 329 - signal to be filtered;
#X text 190 348 clear;
#X text 245 349 - clears the filter in case of a blow-up;
#X text 245 383 - sets frequency mode to linear;
#X text 245 365 - sets frequency mode to hertz;
#X text 245 398 - sets frequency mode to radians;
#X text 178 567 - sets Q/resonance from 0-1 (default 0.01), f 60;
#X obj 163 204 + 1;
#X obj 163 231 cyclone/selector~ 4 1;
#X text 196 365 <hz>;
#X text 172 382 <linear>;
#X text 166 398 <radians>;
#N canvas 352 78 909 464 frequency 0;
#X text 431 21 linear:;
#X text 30 107 hz:;
#X text 442 230 radians:;
#X text 64 107 - The 'hz' mode is simply an input in hertz \, as in
our main example in the parent patch.;
#X obj 563 84 noise~;
#X floatatom 655 95 7 0 0 0 - - -;
#X obj 639 67 hsl 128 15 0 1 0 1 empty empty empty -2 -8 0 10 -228856
-1 -1 0 1;
#X text 679 66 cutoff;
#X text 705 94 linear;
#X obj 598 327 noise~;
#X floatatom 674 334 7 0 0 0 - - -;
#X obj 677 310 hsl 128 15 0 1 0 1 empty empty empty -2 -8 0 10 -228856
-1 -1 3700 1;
#X text 717 309 cutoff;
#X text 724 333 radians;
#X obj 164 298 noise~;
#X obj 274 248 samplerate~;
#X obj 274 226 loadbang;
#X obj 274 268 / 4;
#X floatatom 274 290 6 0 0 0 - - -;
#X floatatom 219 234 7 0 0 0 - - -;
#X obj 222 200 hsl 128 15 0 1 0 1 empty empty empty -2 -8 0 10 -228856
-1 -1 100 1;
#X text 264 200 cutoff;
#X obj 219 283 *;
#X floatatom 219 318 7 0 0 0 - - -;
#X text 66 147 But please note that the effective cutoff frequency
in hertz is the sample rate frequency divided by 4 \, or half the Nyquist
frequency.;
#X text 490 21 - The 'linear' mode is just a scaled version of the
standard hertz mode with values in the 0-1 range isntead 0 and half
the Nyquist.;
#X text 267 318 hertz;
#X text 63 45 [svf~] has three different modes (set by messages or
arguments) for mapping input values onto cutoff/center frequency. These
are mainly for convenience \, but they may also slightly improve efficiency.
;
#X obj 164 344 cyclone/svf~ 0 0.75;
#X obj 563 119 cyclone/svf~ 0 0.5 linear;
#X text 507 229 - In this mode \, input values from 0 to 1 are interpreted
as radians \, producing a quarter-cycle sinusoidal mapping to cutoff
frequencies. This conforms the frequency mapping to a response that
is closer to our logarithmic perception of pitch., f 63;
#X obj 598 359 cyclone/svf~ 0 0.5 radians;
#X msg 515 301 linear;
#X msg 569 301 radians;
#X obj 541 153 ./out~;
#X obj 576 393 ./out~;
#X obj 142 378 ./out~;
#X connect 4 0 29 0;
#X connect 6 0 5 0;
#X connect 6 0 29 1;
#X connect 9 0 31 0;
#X connect 10 0 31 1;
#X connect 11 0 10 0;
#X connect 14 0 28 0;
#X connect 15 0 17 0;
#X connect 16 0 15 0;
#X connect 17 0 18 0;
#X connect 18 0 22 1;
#X connect 19 0 22 0;
#X connect 20 0 19 0;
#X connect 22 0 23 0;
#X connect 23 0 28 1;
#X connect 28 0 36 0;
#X connect 28 0 36 1;
#X connect 29 0 34 0;
#X connect 29 0 34 1;
#X connect 31 0 35 0;
#X connect 31 0 35 1;
#X connect 32 0 31 0;
#X connect 33 0 31 0;
#X restore 455 279 pd frequency \; input modes;
#X obj 17 55 cyclone/comment 425 14 DejaVu\ Sans\ Mono empty 0 0 0
0 0 255 255 255 0 0 State-variable filter;
#X obj 16 3 cyclone/comment 425 33 DejaVu\ Sans\ Mono empty 0 0 0 0
0 255 255 255 0 0 svf~;
#X obj 322 27 cyclone/comment 425 13 DejaVu\ Sans\ Mono empty 0 224
228 220 0 255 255 255 0 0 Objects cloned from Max/MSP;
#X obj 363 3 cyclone/comment 425 24 DejaVu\ Sans\ Mono empty 0 224
228 220 0 255 255 255 0 0 cyclone;
#X obj 163 261 ./out~;
#X text 52 84 [svf~] implements Chamberlin's state-variable filter
algorithm \, which outputs lowpass \, highpass \, bandpass \, and band
reject (notch) simultaneously in parallel (in this order from left
to right)., f 66;
#X connect 13 0 37 0;
#X connect 14 0 37 1;
#X connect 15 0 37 2;
#X connect 16 0 14 0;
#X connect 24 0 53 0;
#X connect 33 0 15 0;
#X connect 37 0 54 1;
#X connect 37 1 54 2;
#X connect 37 2 54 3;
#X connect 37 3 54 4;
#X connect 53 0 54 0;
#X connect 54 0 63 0;
#X connect 54 0 63 1;
