Пример #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 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);
        }
Пример #3
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;
 }
Пример #4
0
 /// <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;
 }