示例#1
0
 /// <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;
 }
示例#2
0
 /// <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;
 }