/// <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 High pass filter /// </summary> public static BiQuadFilter HighPassFilter(float sampleRate, float cutoffFrequency, float q) { var filter = new BiQuadFilter(); filter.SetHighPassFilter(sampleRate, cutoffFrequency, q); return(filter); }