sound.processors
Class AmplitudeProcessor
java.lang.Object
sound.processors.AmplitudeProcessor
- All Implemented Interfaces:
- java.io.Serializable, ByteProcessor
public class AmplitudeProcessor
- extends java.lang.Object
- implements ByteProcessor
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AmplitudeProcessor
public AmplitudeProcessor()
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