Io Reference







Audio   /   SoundTouch   /   SoundTouch





Used to change the tempo and/or pitch of an audio stream. Input and output are in 32 bit floats in 2 channels at a rate of 44100 samples per second.
 
 
 



inputBuffer

Returns the input buffer.
outputBuffer

Returns the output buffer.
process

Processes a chunk of the inputBuffer and appends the results to the outputBuffer.
setChannels(aNumber)

Sets the number of input channels.
setPitchSemitones(aNumber)

Sets the output increase in pitch semitones.
setSampleRate(aNumber)

Sets the input sample rate in Hz.
setTempo(aNumber)

Sets the tempo.
setTempoChange(aNumber)

Sets the tempo change amount.
start

Cleans up SoundTouch.