com.sun.media.sound
Class SoftReverb

java.lang.Object
  extended by com.sun.media.sound.SoftReverb
All Implemented Interfaces:
SoftAudioProcessor

public class SoftReverb
extends java.lang.Object
implements SoftAudioProcessor

Reverb effect based on allpass/comb filters. First audio is send to 8 parelled comb filters and then mixed together and then finally send thru 3 different allpass filters.

Author:
Karl Helgason

Constructor Summary
SoftReverb()
           
 
Method Summary
 void globalParameterControlChange(int[] slothpath, long param, long value)
           
 void init(float samplerate, float controlrate)
           
 void processAudio()
           
 void processControlLogic()
           
 void setDamp(float value)
           
 void setGain(float gain)
           
 void setInput(int pin, SoftAudioBuffer input)
           
 void setMixMode(boolean mix)
           
 void setOutput(int pin, SoftAudioBuffer output)
           
 void setPreDelay(float value)
           
 void setRoomSize(float value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoftReverb

public SoftReverb()
Method Detail

init

public void init(float samplerate,
                 float controlrate)
Specified by:
init in interface SoftAudioProcessor

setInput

public void setInput(int pin,
                     SoftAudioBuffer input)
Specified by:
setInput in interface SoftAudioProcessor

setOutput

public void setOutput(int pin,
                      SoftAudioBuffer output)
Specified by:
setOutput in interface SoftAudioProcessor

setMixMode

public void setMixMode(boolean mix)
Specified by:
setMixMode in interface SoftAudioProcessor

processAudio

public void processAudio()
Specified by:
processAudio in interface SoftAudioProcessor

globalParameterControlChange

public void globalParameterControlChange(int[] slothpath,
                                         long param,
                                         long value)
Specified by:
globalParameterControlChange in interface SoftAudioProcessor

processControlLogic

public void processControlLogic()
Specified by:
processControlLogic in interface SoftAudioProcessor

setRoomSize

public void setRoomSize(float value)

setPreDelay

public void setPreDelay(float value)

setGain

public void setGain(float gain)

setDamp

public void setDamp(float value)