#N canvas 391 23 562 698 10;
#X declare -stdpath ./;
#X obj 6 669 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 6 460 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 6 567 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 6 604 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 85 474 cnv 17 3 35 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 85 518 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 147 474 signal;
#X obj 85 542 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 85 577 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 149 577 signal;
#X text 137 615 1) float;
#X text 137 635 2) float;
#X text 112 518 float/signal;
#X text 193 517 - cutoff frequency;
#X text 112 543 float/signal;
#X text 194 542 - resonance;
#X obj 347 273 line~;
#X msg 347 248 \$1 100;
#X obj 261 230 +~ 1000;
#X obj 350 205 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 #dcdcdc #000000 #000000 0 1;
#X floatatom 347 226 8 0 0 0 - - - 0;
#X obj 261 206 *~ 750;
#X obj 261 177 osc~ 1;
#X text 365 205 resonance (0-1);
#X text 154 496 clear;
#X text 69 89 [lores~] implements an inexpensive resonant lowpass filter. The first argument or middle inlet sets the cutoff frequency \, and the resonance is set by the second argument or the right inlet. Below \, we use a LFO to control the cutoff \, resulting in a filter sweep effect., f 67;
#X text 193 474 - signal to be filtered;
#X obj 221 273 cyclone/lores~;
#X text 196 615 - cutoff frequency (default 0);
#X text 228 155 cutoff (filter sweep);
#X text 195 576 - the filter's output;
#X text 196 635 - resonance (default 0): minimum is 0 (a little bit sharp) and maximum is 1 (as sharp as possible and also LOUD);
#X text 194 494 - clears the internal buffer's memory;
#X obj 162 209 noise~;
#X obj 221 308 output~;
#X obj 4 4 ./header lores~;
#X text 22 61 Low-pass resonant filter;
#X obj 422 153 declare -stdpath ./;
#N canvas 118 173 452 177 more 0;
#X text 35 77 Since it is a recursive filter \, you may need to use the "clear" message if it blows up., f 60;
#X text 35 39 The equation of the filter is <yn = scale * xn - c1 * yn-1 + c2 * yn-2> \, where scale \, c1 \, and c2 are parameters calculated from the cutoff frequency and resonance factor.;
#X restore 66 286 pd more details;
#X text 37 377 see also:;
#X obj 447 420 open-else;
#X text 444 377 click;
#X obj 33 398 cyclone/svf~;
#X obj 147 398 bob~;
#X msg 447 398 lowpass~;
#X text 197 402 Plugdata users or those with ELSE can also use [else/lowpass~] an alternative, f 39;
#X obj 33 421 cyclone/onepole~;
#X obj 147 421 lop~;
#X connect 16 0 27 2;
#X connect 17 0 16 0;
#X connect 18 0 27 1;
#X connect 19 0 20 0;
#X connect 20 0 17 0;
#X connect 21 0 18 0;
#X connect 22 0 21 0;
#X connect 27 0 34 0;
#X connect 33 0 27 0;
#X connect 44 0 40 0;
