sound.processors
Class AmplitudeProcessor

java.lang.Object
  extended by sound.processors.AmplitudeProcessor
All Implemented Interfaces:
java.io.Serializable, ByteProcessor

public class AmplitudeProcessor
extends java.lang.Object
implements ByteProcessor

See Also:
Serialized Form

Constructor Summary
AmplitudeProcessor()
           
 
Method Summary
 int getAmplitude()
           
static void main(java.lang.String[] args)
           
 void process(byte[] b)
           
 void setAmplitude(int amplitude)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmplitudeProcessor

public AmplitudeProcessor()
Method Detail

process

public void process(byte[] b)
Specified by:
process in interface ByteProcessor

getAmplitude

public int getAmplitude()

setAmplitude

public void setAmplitude(int amplitude)

main

public static void main(java.lang.String[] args)
                 throws javax.sound.sampled.LineUnavailableException
Throws:
javax.sound.sampled.LineUnavailableException