public class SpeedChangeOp extends AbstractBufferedSoundUnaryOp
| Constructor and Description |
|---|
SpeedChangeOp(double multiplier)
Explicit Value Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyFilter(double[] source,
double[] destination)
Copy the signal
|
BufferedSound |
createCompatibleDestinationSound(BufferedSound src)
Creates a BufferedSound with a different sampling rate.
|
applyFilter, filterpublic SpeedChangeOp(double multiplier)
multiplier - The multiplier to usepublic BufferedSound createCompatibleDestinationSound(BufferedSound src)
createCompatibleDestinationSound in class AbstractBufferedSoundOpsrc - The source BufferedSoundpublic void applyFilter(double[] source,
double[] destination)
applyFilter in class AbstractBufferedSoundUnaryOpsource - The source signaldestination - The resulting signal