Issue: Need to stretch and scale audio for quantizing syllables
Task: Create a function that stretches/scales audio in time. Interpolate between samples if necessary (i.e. stretching and for nonrational compression). Don't worry about frequency domain, the pitch will rise for squishing in time, lower for stretching in time.
Desired input: Numpy array of audio data, sample rate, desired time duration
Issue: Need to stretch and scale audio for quantizing syllables
Task: Create a function that stretches/scales audio in time. Interpolate between samples if necessary (i.e. stretching and for nonrational compression). Don't worry about frequency domain, the pitch will rise for squishing in time, lower for stretching in time.
Desired input: Numpy array of audio data, sample rate, desired time duration
Desired output: Numpy array of audio data