Interface ARSV1FilterType

All Known Implementing Classes:
ARSV1Filter, ARSV1Filter4x

public interface ARSV1FilterType
The type of state variable filters.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    double
     
    double
     
    double
     
    double
     
    void
    processOneFrame(double input)
    Process a single frame of input.
    double
    q()
     
    void
    Reset all internal state variables, leaving cutoff and q untouched.
    void
    setCutoff(double newCutoff)
    Specify a new frequency cutoff value.
    void
    setQ(double newQ)
    Specify a new Q value.
  • Method Details

    • setCutoff

      void setCutoff(double newCutoff)

      Specify a new frequency cutoff value.

      Parameters:
      newCutoff - The cutoff
    • setQ

      void setQ(double newQ)

      Specify a new Q value.

      Parameters:
      newQ - The Q
    • cutoff

      double cutoff()
      Returns:
      The current cutoff value
    • q

      double q()
      Returns:
      The current Q value
    • reset

      void reset()
      Reset all internal state variables, leaving cutoff and q untouched.
    • lowPassOutput

      double lowPassOutput()
      Returns:
      The low pass output of the most recent filter evaluation
    • highPassOutput

      double highPassOutput()
      Returns:
      The high pass output of the most recent filter evaluation
    • bandPassOutput

      double bandPassOutput()
      Returns:
      The band pass output of the most recent filter evaluation
    • bandRejectOutput

      double bandRejectOutput()
      Returns:
      The band reject output of the most recent filter evaluation
    • processOneFrame

      void processOneFrame(double input)
      Process a single frame of input.
      Parameters:
      input - The input