auditory.sampled
Class FIRFilterOp

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

public class FIRFilterOp
extends AbstractBufferedSoundUnaryOp

A BufferedSoundUnaryOp that applies a FIRFilter to a BufferedSound

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

Constructor Summary
FIRFilterOp(FIRFilter fir)
          Explicit Value Constructor
 
Method Summary
 void applyFilter(double[] source, double[] destination)
          Apply a FIRFilter
 
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

FIRFilterOp

public FIRFilterOp(FIRFilter fir)
Explicit Value Constructor

Parameters:
fir - The FIRFilter to use
Method Detail

applyFilter

public void applyFilter(double[] source,
                        double[] destination)
Apply a FIRFilter

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