#N canvas 99 64 1032 539 10;
#X obj 480 191 noise~;
#X obj 481 231 e_beequad;
#X obj 626 231 biquad~;
#X msg 664 149 1.41407 -0.9998 1 -1.41421 1;
#X obj 554 331 hsl 128 15 0 1 0 0 empty empty 0-1 -2 -8 1 10 -262144
-1 -1 0 1;
#X obj 479 380 *~ 0.5;
#X msg 624 83 1.88478 -0.904073 0.00482327 0.00964654 0.00482327;
#X text 624 65 lowpass cf: 1000 Hz \, bw: 100;
#X msg 541 55 interp \$1;
#X floatatom 541 38 5 0 0 2 interpolation_time(ms) - -;
#X text 674 173 this biquad~ is a notch filter for fn = Pi/4;
#X text 674 190 (= SR/8 = 5512.5 Hz @44.1k);
#N canvas 0 0 450 300 xfade 0;
#X obj 76 87 inlet~;
#X obj 142 87 inlet~;
#X obj 77 198 outlet~;
#X obj 201 87 inlet;
#X obj 201 127 vline~;
#X obj 141 136 -~;
#X obj 141 156 *~;
#X text 371 150 (1-x)*a + x*b;
#X text 371 167 = a - x*a + x*b;
#X text 371 184 = a + x*(b - a);
#X text 366 119 x: fade factor (0-1);
#X text 366 90 a: sig from inlet~ 0;
#X text 339 50 Linear crossfade according to the following calculation:
;
#X text 367 104 b: sig from inlet~ 1;
#X connect 0 0 5 1;
#X connect 0 0 2 0;
#X connect 1 0 5 0;
#X connect 3 0 4 0;
#X connect 4 0 6 1;
#X connect 5 0 6 0;
#X connect 6 0 2 0;
#X restore 480 331 pd xfade;
#X obj 551 349 pack 0 10;
#X obj 652 406 u_lowpass;
#X obj 652 426 u_lowpassq;
#X obj 744 406 u_highpass;
#X obj 744 426 u_highpassq;
#X obj 652 446 u_bandpass1;
#X obj 652 466 u_bandpass1q;
#X obj 744 466 u_bandpass2q;
#X obj 744 446 u_bandpass2;
#X msg 554 130 clear;
#N canvas 377 111 827 710 REFERENCE 0;
#X text 114 121 Name: e_beequad;
#X text 114 151 Summary: [biquad~] clone with settable interpolation
time made from czero/cpole.;
#X text 114 186 Inlet 0: audio signal to filter;
#X text 114 256 Outlet 0: filtered audio signal.;
#X text 114 208 Inlet 1: list of 5 numbers to set the biquad coefficients.
clear: clear the filter contents \, interp <time>: set interpolation
time.;
#X text 115 287 Description: This is almist like the builtin [biquad~]
object \, except that the filter coefficients are linearily interpolated
of the interpolation time you can set with "interp" messages to the
last inlet and it uses a second inlet for setting the state with messages.
;
#X text 122 529 Tags: filter \, biquad;
#X coords 0 -1 1 1 450 450 1 100 100;
#X restore 21 55 pd REFERENCE;
#X text 19 9 e_beequad - [biquad~] clone with settable interpolation
time made from czero/cpole.;
#X obj 479 416 soundoutput;
#X text 535 488 Also see these helpers for computing the coefficients
of popular filter types.;
#X connect 0 0 1 0;
#X connect 0 0 2 0;
#X connect 1 0 12 0;
#X connect 2 0 12 1;
#X connect 3 0 1 1;
#X connect 3 0 2 0;
#X connect 4 0 13 0;
#X connect 5 0 25 0;
#X connect 5 0 25 1;
#X connect 6 0 2 0;
#X connect 6 0 1 1;
#X connect 8 0 1 1;
#X connect 9 0 8 0;
#X connect 12 0 5 0;
#X connect 13 0 12 2;
#X connect 22 0 1 1;
