Save This Page
Home » openjdk-7 » » sound » [javadoc | source]
public class: SoftLimiter [javadoc | source]

All Implemented Interfaces:

A simple look-ahead volume limiter with very fast attack and fast release. This filter is used for preventing clipping.
Field Summary
 float lastmax     
 float gain     
 float[] temp_bufferL     
 float[] temp_bufferR     
 boolean mix     
 SoftAudioBuffer bufferL     
 SoftAudioBuffer bufferR     
 SoftAudioBuffer bufferLout     
 SoftAudioBuffer bufferRout     
 float controlrate     
 double silentcounter     
Method from Summary:
globalParameterControlChange,   init,   processAudio,   processControlLogic,   setInput,   setMixMode,   setOutput
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public  void globalParameterControlChange(int[] slothpath,
    long param,
    long value) 
 public  void init(float samplerate,
    float controlrate) 
 public  void processAudio() 
 public  void processControlLogic() 
 public  void setInput(int pin,
    SoftAudioBuffer input) 
 public  void setMixMode(boolean mix) 
 public  void setOutput(int pin,
    SoftAudioBuffer output)