org.jscience.media.audio.dsp.filters
Class IIRLowpassFilter

java.lang.Object
  extended by org.jscience.media.audio.dsp.filters.IIRFilterBase
      extended by org.jscience.media.audio.dsp.filters.IIRLowpassFilter

public class IIRLowpassFilter
extends IIRFilterBase

DOCUMENT ME!


Field Summary
 
Fields inherited from class org.jscience.media.audio.dsp.filters.IIRFilterBase
alpha, amplitudeAdj, beta, gamma, HISTORYSIZE, iIndex, inArray, jIndex, kIndex, outArray
 
Constructor Summary
IIRLowpassFilter(double alpha, double beta, double gamma)
          Creates a new IIRLowpassFilter object.
IIRLowpassFilter(IIRLowpassFilterDesign fd)
          Creates a new IIRLowpassFilter object.
 
Method Summary
 void doFilter(short[] inBuffer, double[] outBuffer, int length)
          DOCUMENT ME!
 void doFilterNoSum(double[] inBuffer, double[] outBuffer, int length)
          DOCUMENT ME!
 void doFilterNoSum(short[] inBuffer, double[] outBuffer, int length)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.media.audio.dsp.filters.IIRFilterBase
setAlpha, setAmplitudeAdj, setBeta, setGamma, updateFilterCoefficients
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IIRLowpassFilter

public IIRLowpassFilter(double alpha,
                        double beta,
                        double gamma)
Creates a new IIRLowpassFilter object.

Parameters:
alpha - DOCUMENT ME!
beta - DOCUMENT ME!
gamma - DOCUMENT ME!

IIRLowpassFilter

public IIRLowpassFilter(IIRLowpassFilterDesign fd)
Creates a new IIRLowpassFilter object.

Parameters:
fd - DOCUMENT ME!
Method Detail

doFilter

public void doFilter(short[] inBuffer,
                     double[] outBuffer,
                     int length)
DOCUMENT ME!

Specified by:
doFilter in class IIRFilterBase
Parameters:
inBuffer - DOCUMENT ME!
outBuffer - DOCUMENT ME!
length - DOCUMENT ME!

doFilterNoSum

public void doFilterNoSum(short[] inBuffer,
                          double[] outBuffer,
                          int length)
DOCUMENT ME!

Parameters:
inBuffer - DOCUMENT ME!
outBuffer - DOCUMENT ME!
length - DOCUMENT ME!

doFilterNoSum

public void doFilterNoSum(double[] inBuffer,
                          double[] outBuffer,
                          int length)
DOCUMENT ME!

Parameters:
inBuffer - DOCUMENT ME!
outBuffer - DOCUMENT ME!
length - DOCUMENT ME!