VoiceFilter
Input
Audio file
- Mixed audio
- Reference audio for d-vector
Input an audio file that is spoken by multiple people and an audio file that contains the voices of the people you want to extract. The voice of one person is extracted and output.
Output
Audio file
- Estimated audio
- Ground truth
(Audio from http://swpark.me/voicefilter/)
Usage
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 voicefilter.py --input mixed.wav --reference_file ref-voice.wav
If you want to specify the mixed audio, put the file path after the --input option, and to specify the reference audio, put the file path after the --reference_file option.
You can use --savepath option to change the name of the output file to save.
$ python3 voicefilter.py --input MIXED_WAV --reference_file REFERENCE_WAV --savepath SAVE_PATH
Reference
Framework
Pytorch
Model Format
ONNX opset=11