jerivl / Deepcut

A robot that raps
Apache License 2.0
1 stars 1 forks source link

Implement naive time stretching #6

Closed jerivl closed 3 years ago

jerivl commented 3 years ago

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