This repository has been archived by the owner on Dec 13, 2023. It is now read-only.
Migrate to using librosa and librubberband for formant shifting #37
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
planned-migration
Planned migration to a new codebase
Migrate to using
librosa
andlibrubberband
for formant shifting. This would make the male and most importantly female voices, much more accurate and allow even more vocal flexibility in the future, since we could easily implement phaser effects and vocoders usinglibrosa
later on when we have the groundwork for a low-level streaming solution, rather than relying onsox
.I've played around, and it seems to be possible to use
librubberband
from Python and read data from a wave file (called bad.wav), apply a pitch shift effect with formant shifting and write it to "good.wav".The code to achieve this for a wave file is above, however in order to make this realtime we will need to do something like the following.
numpy
array(?)sox
only this time writing thenumpy
arrayinstead of piping directly from
sox
The text was updated successfully, but these errors were encountered: