NextAudioGen / ultimatevocalremover_api

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

How to export seperated audio file #7

Closed sekatol closed 5 months ago

sekatol commented 5 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 5 months ago

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