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

java.lang.Object
  extended by org.jscience.media.audio.dsp.AbstractAudio
      extended by org.jscience.media.audio.dsp.processors.AmplitudeAdjust
All Implemented Interfaces:
Named

public class AmplitudeAdjust
extends AbstractAudio

DOCUMENT ME!


Field Summary
 
Fields inherited from class org.jscience.media.audio.dsp.AbstractAudio
ALLTYPES, MONITOR, next, NOTYPE, previous, PROCESSOR, SAMPLEBUFFERSIZE, SINK, SOURCE
 
Constructor Summary
AmplitudeAdjust()
          Creates a new AmplitudeAdjust object.
 
Method Summary
 double getAmplitudeAdj()
          DOCUMENT ME!
 int getSamples(short[] buffer, int length)
          DOCUMENT ME!
 void setAmplitudeAdj(double adjValue)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.media.audio.dsp.AbstractAudio
doReset, equals, getByPass, getName, getNumberOfChannels, getSamplingRate, hexo, hexo, hexo, hexo, minMaxChannels, minMaxSamplingRate, negotiateNumberOfChannels, negotiateSamplingRate, o, propagateReset, reset, setByPass, setChannelsRecursive, setNumberOfChannels, setSamplingRate, setSamplingRateRecursive, toString, typeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AmplitudeAdjust

public AmplitudeAdjust()
Creates a new AmplitudeAdjust object.

Method Detail

getAmplitudeAdj

public double getAmplitudeAdj()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setAmplitudeAdj

public void setAmplitudeAdj(double adjValue)
DOCUMENT ME!

Parameters:
adjValue - DOCUMENT ME!

getSamples

public int getSamples(short[] buffer,
                      int length)
DOCUMENT ME!

Specified by:
getSamples in class AbstractAudio
Parameters:
buffer - DOCUMENT ME!
length - DOCUMENT ME!
Returns:
DOCUMENT ME!