jurihock / stftPitchShift

STFT based real-time pitch and timbre shifting in C++ and Python
MIT License
120 stars 15 forks source link

Timbre shifting questions #27

Closed hjzzju closed 2 years ago

hjzzju commented 2 years ago

I would like to know if this code can keep pitch (f0) constant but change timbre (speaker identity), and if it can be overwritten with PyTorch

jurihock commented 2 years ago

If using CLI:

... -p 1 -q <foo> -t <bar>

If using Python API:

pitchshifter.shiftpitch(..., 1, <foo>, <bar>)

See also the full example in examples folder.

As implemented in #25 but not yet released.

Hence you currently need to clone the main branch...

jurihock commented 2 years ago

I decided to publish the v1.5 incl. the new timbre shifting feature, so it can be obtained from pip as regular.