sound.shortProcessors
Class ShortAverageAmplitudeProcessor

java.lang.Object
  extended by sound.shortProcessors.ShortAverageAmplitudeProcessor
All Implemented Interfaces:
java.io.Serializable, ShortProcessor

public class ShortAverageAmplitudeProcessor
extends java.lang.Object
implements ShortProcessor

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

See Also:
Serialized Form

Constructor Summary
ShortAverageAmplitudeProcessor()
           
 
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(short[] b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortAverageAmplitudeProcessor

public ShortAverageAmplitudeProcessor()
Method Detail

process

public void process(short[] b)
Specified by:
process in interface ShortProcessor

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