Class Cascade

  • Direct Known Subclasses:
    Bessel, Butterworth, ChebyshevI, ChebyshevII

    public class Cascade
    extends java.lang.Object
    The mother of all filters. It contains the coefficients of all filter stages as a sequence of 2nd order filters and the states of the 2nd order filters which also imply if it's direct form I or II
    • Constructor Summary

      Constructors 
      Constructor Description
      Cascade()  
    • Constructor Detail

      • Cascade

        public Cascade()
    • Method Detail

      • applyScale

        public void applyScale​(double scale)
      • filter

        public double filter​(double in)
      • getBiquad

        public Biquad getBiquad​(int index)
      • getNumBiquads

        public int getNumBiquads()
      • reset

        public void reset()
      • response

        public org.apache.commons.math3.complex.Complex response​(double normalizedFrequency)
      • setLayout

        public void setLayout​(LayoutBase proto,
                              int filterTypes)