auditory.sampled
Class ReverseOp

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

public class ReverseOp
extends AbstractBufferedSoundUnaryOp

A BufferedSoundUnaryOp that reverses a BufferedSound

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

Constructor Summary
ReverseOp()
           
 
Method Summary
 void applyFilter(double[] source, double[] destination)
          Reverse 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

ReverseOp

public ReverseOp()
Method Detail

applyFilter

public void applyFilter(double[] source,
                        double[] destination)
Reverse 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