1 declare name "lfboost";
3 declare author "Grame";
5 declare copyright "(c)GRAME 2006";
7 //------------------------------------------------------------------
8 // DAFX, Digital Audio Effects (Wiley ed.)
10 // section 2.3 : Equalizers
11 // page 53 : second order shelving filter design
12 //------------------------------------------------------------------
18 //----------------------low frequency boost filter -------------------------------
20 // F : frequency (in Hz)
23 //--------------------------------------------------------------------------------
25 lfboost(F,G) = TF2( (1 + sqrt(2*V)*K + V*K*K) / denom,
26 2 * (V*K*K - 1) / denom,
27 (1 - sqrt(2*V)*K + V*K*K) / denom,
28 2 * (K*K - 1) / denom,
29 (1 - sqrt(2)*K + K*K) / denom
34 denom = 1 + sqrt(2)*K + K*K;
39 //====================low frequency boost process ===============================
41 process = vgroup("lowboost", lfboost(
42 nentry("freq [unit:Hz][style:knob]", 100, 20, 150, 1),
43 vslider("gain [unit:dB]", 0, -20, 20, 0.1)