/// <summary> /// Create a Peaking EQ /// </summary> public static BiQuadFilter PeakingEQ(float sampleRate, float centreFrequency, float q, float dbGain) { var filter = new BiQuadFilter(); filter.SetPeakingEq(sampleRate, centreFrequency, q, dbGain); return filter; }
/// <summary> /// Create a low pass filter /// </summary> public static BiQuadFilter LowPassFilter(float sampleRate, float cutoffFrequency, float q) { var filter = new BiQuadFilter(); filter.SetLowPassFilter(sampleRate,cutoffFrequency,q); return filter; }