Class IIRFilterNode

java.lang.Object
com.codename1.media.audio.AudioNode
com.codename1.media.audio.IIRFilterNode

public final class IIRFilterNode extends AudioNode
A general infinite impulse response filter with fixed coefficients, the Web Audio IIRFilterNode. The output has the input's channel count.
  • Method Details

    • getFrequencyResponse

      public void getFrequencyResponse(float[] frequencyHz, float[] magResponse, float[] phaseResponse)

      Computes the filter's response at each of frequencyHz.

      Parameters
      • frequencyHz: the frequencies to evaluate

      • magResponse: receives the linear magnitude at each frequency

      • phaseResponse: receives the phase in radians at each frequency