org.jscience.media.audio.dsp.processors
Class AllpassNetwork

java.lang.Object
  extended by org.jscience.media.audio.dsp.processors.AllpassNetwork

public class AllpassNetwork
extends java.lang.Object

DOCUMENT ME!


Constructor Summary
AllpassNetwork(int sampleRate, int numberOfChannels, double delayInMs)
          Creates a new AllpassNetwork object.
 
Method Summary
 int doFilter(double[] inBuf, double[] outBuf, int length)
          DOCUMENT ME!
 void setDelayInMs(double delayInMs)
          DOCUMENT ME!
 void setSustainTimeInMs(double sustainTimeInMs)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllpassNetwork

public AllpassNetwork(int sampleRate,
                      int numberOfChannels,
                      double delayInMs)
Creates a new AllpassNetwork object.

Parameters:
sampleRate - DOCUMENT ME!
numberOfChannels - DOCUMENT ME!
delayInMs - DOCUMENT ME!
Method Detail

setDelayInMs

public void setDelayInMs(double delayInMs)
DOCUMENT ME!

Parameters:
delayInMs - DOCUMENT ME!

setSustainTimeInMs

public void setSustainTimeInMs(double sustainTimeInMs)
DOCUMENT ME!

Parameters:
sustainTimeInMs - DOCUMENT ME!

doFilter

public int doFilter(double[] inBuf,
                    double[] outBuf,
                    int length)
DOCUMENT ME!

Parameters:
inBuf - DOCUMENT ME!
outBuf - DOCUMENT ME!
length - DOCUMENT ME!
Returns:
DOCUMENT ME!