Audio file
booth.mov
(Audio from https://github.com/ohashi3399/RVC-demo)
Audio file
output.mov
This model requires additional module.
pip3 install librosa
pip3 install soundfile
pip3 install faiss-cpu==1.7.3
pip3 install pyworld==0.3.2
Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.
For the sample wav,
$ python3 rvc.pyIf you want to specify the audio, put the file path after the --input option.
$ python3 rvc.py --input AUDIO_FILEBy adding the --model_file option, you can specify vc model file.
$ python3 rvc.py --model_file AISO-HOWATTO.onnxSpecify the f0 option to infer a model that uses f0. You can choice crepe or crepe_tiny for f0_method.
python3 rvc.py -i booth.wav -m Rinne.onnx --f0_method crepe_tiny --f0 1 --f0_up_key 11 --tgt_sr 48000By adding the --file_index option, you can specify faiss feature file.
python3 rvc.py -i booth.wav -m Rinne.onnx --f0_method crepe --f0 1 --f0_up_key 11 --tgt_sr 48000 --file_index Rinne.index --index_rate 0.75By adding the --version option, you can specify rvc model file version.
$ python3 rvc.py --model_file rvc_v2.onnx --version 2Pytorch
ONNX opset=14