- Mixed audio file
Audio file in wav format with mixed sources. input.wav
input.mov
This audio file was adapted from the official audiosep implementation
https://audio-agi.github.io/Separate-Anything-You-Describe/demos/exp31_water/drops_mixture.wav
- Text condition
Text description of the sound source you want to separate.
- Audio file
Separated audio source according to the text query.
Saves to ./output.wav by default but it can be specified with the --path option
Internet connection is required when running the script for the first time, as the model files will be automatically downloaded.
Running this script will separate sound sources from the original input audio file, according to the language query.
$ python3 audiosep.py -p "thunder" -i input.wav -s output_thunder.wavoutput_thunder.mov
$ python3 audiosep.py -p "water drops" -i input.wav -s output_waterdrops.wavoutput_waterdrops.mov
.wav file containing the sound source separated from the original mixture will be created in both cases.
Pytorch
ONNX opset=11