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

            return(false);
        }
Beispiel #13
0
 public SuperPoweredFilter(SuperpoweredFilterType filterType, uint samplerate)
 {
     pObject = SuperPoweredFilterWrapper.Create(filterType, samplerate);
     return;
 }