|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectauditory.sampled.AbstractBufferedSoundOp
auditory.sampled.AbstractBufferedSoundUnaryOp
auditory.sampled.SpeedChangeOp
public class SpeedChangeOp
A BufferedSoundUnaryOp that changes the speed at which a signal is presented
Constructor Summary | |
---|---|
SpeedChangeOp(double multiplier)
Explicit Value Constructor |
Method Summary | |
---|---|
void |
applyFilter(double[] source,
double[] destination)
Copy the signal |
BufferedSound |
createCompatibleDestinationSound(BufferedSound src)
Creates a BufferedSound with a different sampling rate. |
Methods inherited from class auditory.sampled.AbstractBufferedSoundUnaryOp |
---|
applyFilter, filter |
Methods inherited from class auditory.sampled.AbstractBufferedSoundOp |
---|
checkArguments |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpeedChangeOp(double multiplier)
multiplier
- The multiplier to useMethod Detail |
---|
public 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
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |