Class ARBQ1BiquadLPFBWO4

java.lang.Object
com.io7m.aradine.filter.biquad1.ARBQ1BiquadLPFBWO4
All Implemented Interfaces:
ARBQ1BiquadType

public final class ARBQ1BiquadLPFBWO4 extends Object implements ARBQ1BiquadType

A biquad low-pass filter of order 4, implemented as two biquad filters in series. Q values for each stages are chosen to give a Butterworth-like response.

See Also:
  • "https://www.earlevel.com/main/2012/11/26/biquad-c-source-code/"
  • Constructor Details

    • ARBQ1BiquadLPFBWO4

      public ARBQ1BiquadLPFBWO4()
      Create a new filter.
  • Method Details

    • setCutoff

      public void setCutoff(double newCutoff)
      Description copied from interface: ARBQ1BiquadType

      Specify a new frequency cutoff value.

      Specified by:
      setCutoff in interface ARBQ1BiquadType
      Parameters:
      newCutoff - The cutoff
    • processOneFrame

      public double processOneFrame(double input)
      Description copied from interface: ARBQ1BiquadType
      Process a single input frame.
      Specified by:
      processOneFrame in interface ARBQ1BiquadType
      Parameters:
      input - The input frame
      Returns:
      The output frame