jerivl / Deepcut

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

Implement frequency preserving time-scaling #4

Closed jerivl closed 3 years ago

jerivl commented 3 years ago

Issue: Naively compressing/stretching the audio in time will increase/decrease the frequency

Solution: Implement phase vocoder https://en.wikipedia.org/wiki/Phase_vocoder to keep frequency information stationary while time scaling is varied

Desired input: Numpy array of audio data, sample rate

Desired output: Numpy array of scaled audio data at same sample rate

I don't think this will be the best possible solution, I'm not sure how this method will sound but we can continue to experiment