Пример #1
0
 public void SetCustomCoefficients(float[] coefficients)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.SetCustomCoefficients(pObject, coefficients);
     }
 }
Пример #2
0
 public void SetSamplerate(uint samplerate)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.SetSamplerate(pObject, samplerate);
     }
 }
Пример #3
0
 public void Enable(bool flag)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.Enable(pObject, flag);
     }
 }
Пример #4
0
 public void SetShelfParametersAndType(float frequency, float slope, float dbGain, SuperpoweredFilterType type)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.SetShelfParametersAndType(pObject, frequency, slope, dbGain, type);
     }
 }
Пример #5
0
 public void SetBandlimitedParametersAndType(float frequency, float octaveWidth, SuperpoweredFilterType type)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.SetBandlimitedParametersAndType(pObject, frequency, octaveWidth, type);
     }
 }
Пример #6
0
 public void SetParametricParameters(float frequency, float octaveWidth, float dbGain)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.SetParametricParameters(pObject, frequency, octaveWidth, dbGain);
     }
 }
Пример #7
0
 public void SetResonantParametersAndType(float frequency, float resonance, SuperpoweredFilterType type)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.SetResonantParametersAndType(pObject, frequency, resonance, type);
     }
 }
Пример #8
0
 public void SetBandlimitedParameters(float frequency, float octaveWidth)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.SetBandlimitedParameters(pObject, frequency, octaveWidth);
     }
 }
Пример #9
0
 public void SetShelfParameters(float frequency, float slope, float dbGain)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.SetShelfParameters(pObject, frequency, slope, dbGain);
     }
 }
Пример #10
0
 public void SetResonantParameters(float frequency, float resonance)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.SetResonantParameters(pObject, frequency, resonance);
     }
 }
Пример #11
0
 public void Reset(IntPtr pObject)
 {
     if (pObject != IntPtr.Zero)
     {
         SuperPoweredFilterWrapper.Reset(pObject);
     }
 }
Пример #12
0
        public bool ProcessMono(float[] input, float[] output, uint numberOfSamples)
        {
            if (pObject != IntPtr.Zero)
            {
                return(SuperPoweredFilterWrapper.ProcessMono(pObject, input, output, numberOfSamples));
            }

            return(false);
        }
Пример #13
0
 public SuperPoweredFilter(SuperpoweredFilterType filterType, uint samplerate)
 {
     pObject = SuperPoweredFilterWrapper.Create(filterType, samplerate);
     return;
 }