#N canvas 452 23 562 688 10;
#X declare -stdpath ./;
#X obj 6 663 cnv 15 552 21 empty empty empty 20 12 0 14 #e0e0e0 #202020 0;
#X obj 6 376 cnv 3 550 3 empty empty inlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 6 483 cnv 3 550 3 empty empty outlets 8 12 0 13 #dcdcdc #000000 0;
#X obj 6 520 cnv 3 550 3 empty empty arguments 8 12 0 13 #dcdcdc #000000 0;
#X obj 6 585 cnv 3 550 3 empty empty more_info 8 12 0 13 #dcdcdc #000000 0;
#X obj 85 390 cnv 17 3 35 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 85 434 cnv 17 3 17 empty empty 1 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 147 390 signal;
#X obj 85 458 cnv 17 3 17 empty empty 2 5 9 0 16 #dcdcdc #9c9c9c 0;
#X obj 85 493 cnv 17 3 17 empty empty 0 5 9 0 16 #dcdcdc #9c9c9c 0;
#X text 149 493 signal;
#X text 137 531 1) float;
#X text 137 551 2) float;
#X text 112 434 float/signal;
#X text 193 433 - cutoff frequency;
#X text 112 459 float/signal;
#X text 194 458 - resonance;
#X obj 347 263 line~;
#X msg 347 238 \$1 100;
#X obj 251 230 +~ 1000;
#X obj 350 195 hsl 128 15 0 1 0 0 empty empty empty -2 -8 0 10 #dcdcdc #000000 #000000 0 1;
#X floatatom 347 216 8 0 0 0 - - - 0;
#X obj 251 206 *~ 750;
#X obj 251 177 osc~ 1;
#X text 365 195 resonance (0-1);
#X text 154 412 clear;
#X text 132 632 Since it is a recursive filter \, you may need to use the "clear" message if it blows up., f 60;
#X text 132 594 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 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 390 - signal to be filtered;
#X obj 211 273 cyclone/lores~;
#X text 196 531 - cutoff frequency (default 0);
#X text 248 155 cutoff (filter sweep);
#X text 195 492 - the filter's output;
#X text 196 551 - resonance (default 0): minimum is 0 (a little bit sharp) and maximum is 1 (as sharp as possible and also LOUD);
#X text 194 410 - clears the internal buffer's memory;
#X obj 152 209 noise~;
#X obj 211 308 output~;
#X obj 4 4 ./header lores~;
#X text 22 61 Low-pass resonant filter;
#X obj 378 331 declare -stdpath ./;
#X connect 17 0 30 2;
#X connect 18 0 17 0;
#X connect 19 0 30 1;
#X connect 20 0 21 0;
#X connect 21 0 18 0;
#X connect 22 0 19 0;
#X connect 23 0 22 0;
#X connect 30 0 37 0;
#X connect 36 0 30 0;
