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

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

public class SchroederReverb
extends java.lang.Object


Field Summary
static double ALLPASS1DELAYMSDEF
          DOCUMENT ME!
static double ALLPASS1SUSTAINMSDEF
          DOCUMENT ME!
static double ALLPASS2DELAYMSDEF
          DOCUMENT ME!
static double ALLPASS2SUSTAINMSDEF
          DOCUMENT ME!
static double COMB1DELAYMSDEF
          DOCUMENT ME!
static double COMB2DELAYMSDEF
          DOCUMENT ME!
static double COMB3DELAYMSDEF
          DOCUMENT ME!
static double COMB4DELAYMSDEF
          DOCUMENT ME!
static double MIXDEF
          DOCUMENT ME!
static double SUSTAINTIMEMSDEF
          DOCUMENT ME!
 
Constructor Summary
SchroederReverb(int sampleRate, int numberOfChannels)
          Creates a new SchroederReverb object.
 
Method Summary
 int doReverb(short[] inBuf, int length)
          DOCUMENT ME!
 void setAllpass1Delay(double delay)
          DOCUMENT ME!
 void setAllpass2Delay(double delay)
          DOCUMENT ME!
 void setComb1Delay(double delay)
          DOCUMENT ME!
 void setComb2Delay(double delay)
          DOCUMENT ME!
 void setComb3Delay(double delay)
          DOCUMENT ME!
 void setComb4Delay(double delay)
          DOCUMENT ME!
 void setDryWetMix(double mix)
          DOCUMENT ME!
 void setSustainInMs(double sustainInMs)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMB1DELAYMSDEF

public static final double COMB1DELAYMSDEF
DOCUMENT ME!

See Also:
Constant Field Values

COMB2DELAYMSDEF

public static final double COMB2DELAYMSDEF
DOCUMENT ME!

See Also:
Constant Field Values

COMB3DELAYMSDEF

public static final double COMB3DELAYMSDEF
DOCUMENT ME!

See Also:
Constant Field Values

COMB4DELAYMSDEF

public static final double COMB4DELAYMSDEF
DOCUMENT ME!

See Also:
Constant Field Values

ALLPASS1DELAYMSDEF

public static final double ALLPASS1DELAYMSDEF
DOCUMENT ME!

See Also:
Constant Field Values

ALLPASS2DELAYMSDEF

public static final double ALLPASS2DELAYMSDEF
DOCUMENT ME!

See Also:
Constant Field Values

ALLPASS1SUSTAINMSDEF

public static final double ALLPASS1SUSTAINMSDEF
DOCUMENT ME!

See Also:
Constant Field Values

ALLPASS2SUSTAINMSDEF

public static final double ALLPASS2SUSTAINMSDEF
DOCUMENT ME!

See Also:
Constant Field Values

SUSTAINTIMEMSDEF

public static final double SUSTAINTIMEMSDEF
DOCUMENT ME!

See Also:
Constant Field Values

MIXDEF

public static final double MIXDEF
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SchroederReverb

public SchroederReverb(int sampleRate,
                       int numberOfChannels)
Creates a new SchroederReverb object.

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

setComb1Delay

public void setComb1Delay(double delay)
DOCUMENT ME!

Parameters:
delay - DOCUMENT ME!

setComb2Delay

public void setComb2Delay(double delay)
DOCUMENT ME!

Parameters:
delay - DOCUMENT ME!

setComb3Delay

public void setComb3Delay(double delay)
DOCUMENT ME!

Parameters:
delay - DOCUMENT ME!

setComb4Delay

public void setComb4Delay(double delay)
DOCUMENT ME!

Parameters:
delay - DOCUMENT ME!

setAllpass1Delay

public void setAllpass1Delay(double delay)
DOCUMENT ME!

Parameters:
delay - DOCUMENT ME!

setAllpass2Delay

public void setAllpass2Delay(double delay)
DOCUMENT ME!

Parameters:
delay - DOCUMENT ME!

setSustainInMs

public void setSustainInMs(double sustainInMs)
DOCUMENT ME!

Parameters:
sustainInMs - DOCUMENT ME!

setDryWetMix

public void setDryWetMix(double mix)
DOCUMENT ME!

Parameters:
mix - DOCUMENT ME!

doReverb

public int doReverb(short[] inBuf,
                    int length)
DOCUMENT ME!

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