public class PitchShifter extends java.lang.Object implements AudioProcessor
Constructor and Description |
---|
PitchShifter(double factor,
double sampleRate,
int size,
int overlap) |
Modifier and Type | Method and Description |
---|---|
boolean |
process(AudioEvent audioEvent)
Process the audio event.
|
void |
processingFinished()
Notify the AudioProcessor that no more data is available and processing
has finished.
|
void |
setPitchShiftFactor(float newPitchShiftFactor) |
public PitchShifter(double factor, double sampleRate, int size, int overlap)
public void setPitchShiftFactor(float newPitchShiftFactor)
public boolean process(AudioEvent audioEvent)
AudioProcessor
process
in interface AudioProcessor
audioEvent
- The audio event that contains audio data.public void processingFinished()
AudioProcessor
processingFinished
in interface AudioProcessor