public abstract class AbstractBufferedSoundUnaryOp extends AbstractBufferedSoundOp implements BufferedSoundUnaryOp
| Constructor and Description |
|---|
AbstractBufferedSoundUnaryOp() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
applyFilter(double[] source,
double[] destination)
Apply the filter (sample-by-sample).
|
void |
applyFilter(java.util.Iterator<double[]> source,
java.util.Iterator<double[]> destination)
Apply the filter to all of the channels.
|
BufferedSound |
filter(BufferedSound src,
BufferedSound dest)
A two-source/one-destination filter.
|
createCompatibleDestinationSoundpublic abstract void applyFilter(double[] source,
double[] destination)
source - The signal from sourcedestination - The destination signalspublic void applyFilter(java.util.Iterator<double[]> source,
java.util.Iterator<double[]> destination)
source - The source signalsdestination - The destination signalspublic BufferedSound filter(BufferedSound src, BufferedSound dest)
filter in interface BufferedSoundUnaryOpsrc - The operand (i.e., the sound to operate on)dest - An empty sound to hold the result (or null)