auditory.sampled
Class InvertOp

java.lang.Object
  extended by auditory.sampled.AbstractBufferedSoundOp
      extended by auditory.sampled.AbstractBufferedSoundUnaryOp
          extended by auditory.sampled.InvertOp
All Implemented Interfaces:
BufferedSoundUnaryOp

public class InvertOp
extends AbstractBufferedSoundUnaryOp

A BufferedSoundUnaryOp that inverts a BufferedSound

See Also:
"The Design and Implementation of Multimedia Software © 2011"

Constructor Summary
InvertOp()
           
 
Method Summary
 void applyFilter(double[] source, double[] destination)
          Invert the signal
 
Methods inherited from class auditory.sampled.AbstractBufferedSoundUnaryOp
applyFilter, filter
 
Methods inherited from class auditory.sampled.AbstractBufferedSoundOp
checkArguments, createCompatibleDestinationSound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvertOp

public InvertOp()
Method Detail

applyFilter

public void applyFilter(double[] source,
                        double[] destination)
Invert the signal

Specified by:
applyFilter in class AbstractBufferedSoundUnaryOp
Parameters:
source - The source signal
destination - The resulting signal


Design and Implementation of Multimedia Software, Jones and Bartlett Publishers