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, filter
public SpeedChangeOp(double multiplier)
multiplier
- The multiplier to usepublic BufferedSound createCompatibleDestinationSound(BufferedSound src)
createCompatibleDestinationSound
in class AbstractBufferedSoundOp
src
- The source BufferedSoundpublic void applyFilter(double[] source, double[] destination)
applyFilter
in class AbstractBufferedSoundUnaryOp
source
- The source signaldestination
- The resulting signal