sound.processors
Class AverageAmplitudeProcessor

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

public class AverageAmplitudeProcessor
extends java.lang.Object
implements ByteProcessor

Douglas Lyon, DocJava, Inc. User: dlyon Date: Nov 13, 2007 Time: 4:31:01 PM

See Also:
Serialized Form

Constructor Summary
AverageAmplitudeProcessor()
           
 
Method Summary
 RunNormalizedSpinnerNumberModel getSnm()
           
static void main(java.lang.String[] args)
          For CR310 HW due next week Make it so that the meter measures the amplitude of the output of the speaker after the AmplitudeProcessor is done.
 void process(byte[] b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AverageAmplitudeProcessor

public AverageAmplitudeProcessor()
Method Detail

process

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

getSnm

public RunNormalizedSpinnerNumberModel getSnm()

main

public static void main(java.lang.String[] args)
                 throws javax.sound.sampled.LineUnavailableException
For CR310 HW due next week Make it so that the meter measures the amplitude of the output of the speaker after the AmplitudeProcessor is done.

Parameters:
args -
Throws:
javax.sound.sampled.LineUnavailableException