com.sun.media.sound
Class SoftReverb
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoftReverb
public SoftReverb()
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)