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

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

public class IIRBandpassFilter
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
IIRBandpassFilter(double alpha, double beta, double gamma)
          Creates a new IIRBandpassFilter object.
IIRBandpassFilter(IIRBandpassFilterDesign fd)
          Creates a new IIRBandpassFilter object.
 
Method Summary
 void doFilter(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

IIRBandpassFilter

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

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

IIRBandpassFilter

public IIRBandpassFilter(IIRBandpassFilterDesign fd)
Creates a new IIRBandpassFilter 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!