@@ -17,12 +17,27 @@ class FilterStage {
1717 setLowPass (coefficients, fc, q);
1818 }
1919
20- void setHighPass (float fc, float q);
21- void setBandPass (float fc, float q);
22- void setNotch (float fc, float q);
23- void setPeak (float fc, float q, float gain);
24- void setLowShelf (float fc, float gain);
25- void setHighShelf (float fc, float gain);
20+ void setHighPass (float fc, float q){
21+ setHighPass (coefficients, fc, q);
22+ }
23+
24+ void setBandPass (float fc, float q){
25+ setBandPass (coefficients, fc, q);
26+ }
27+
28+ void setNotch (float fc, float q){
29+ setNotch (coefficients, fc, q);
30+ }
31+
32+ void setPeak (float fc, float q, float gain){
33+ setPeak (coefficients, fc, q, gain);
34+ }
35+ void setLowShelf (float fc, float gain){
36+ setLowShelf (coefficients, fc, gain);
37+ }
38+ void setHighShelf (float fc, float gain){
39+ setHighShelf (coefficients, fc, gain);
40+ }
2641 void setCoefficients (FloatArray newCoefficients){
2742 ASSERT (coefficients.getSize ()==newCoefficients.getSize (), " wrong size" );
2843 coefficients.copyFrom (newCoefficients);
0 commit comments