NextAudioGen / ultimatevocalremover_api

API for a Vocal Remover that uses Deep Neural Networks.
MIT License
91 stars 10 forks source link

How to export seperated audio file #7

Closed sekatol closed 7 months ago

sekatol commented 7 months ago

after the py code in README.md:

...
vocals = seperted_audio["vocals"]
base = seperted_audio["bass"]
drums = seperted_audio["drums"]
other = seperted_audio["other"]

(These 4 are <class 'torch.Tensor'>) How to export the separated file?

sekatol commented 7 months ago

oh, just add audiofile.write(vocals, "filename")