We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can you add that? this for example:
import os from audio_separator.separator import Separator
input = "/content/input.mp3" output = "/content/output"
separator = Separator(output_dir=output)
vocals = os.path.join(output, 'Vocals.wav') instrumental = os.path.join(output, 'Instrumental.wav')
vocals_reverb = os.path.join(output, 'Vocals (Reverb).wav') vocals_no_reverb = os.path.join(output, 'Vocals (No Reverb).wav')
lead_vocals = os.path.join(output, 'Lead Vocals.wav') backing_vocals = os.path.join(output, 'Backing Vocals.wav')
separator.load_model(model_filename='model_bs_roformer_ep_317_sdr_12.9755.ckpt') voc_inst = separator.separate(input) os.rename(os.path.join(output, voc_inst[0]), instrumental) # Rename file to “Instrumental.wav” os.rename(os.path.join(output, voc_inst[1]), vocals) # Rename file to “Vocals.wav”
separator.load_model(model_filename='UVR-DeEcho-DeReverb.pth') voc_no_reverb = separator.separate(vocals) os.rename(os.path.join(output, voc_no_reverb[0]), vocals_no_reverb) # Rename file to “Vocals (No Reverb).wav” os.rename(os.path.join(output, voc_no_reverb[1]), vocals_reverb) # Rename file to “Vocals (Reverb).wav”
separator.load_model(model_filename='mel_band_roformer_karaoke_aufr33_viperx_sdr_10.1956.ckpt') backing_voc = separator.separate(vocals_no_reverb) os.rename(os.path.join(output, backing_voc[0]), backing_vocals) # Rename file to “Backing Vocals.wav” os.rename(os.path.join(output, backing_voc[1]), lead_vocals) # Rename file to “Lead Vocals.wav”
The text was updated successfully, but these errors were encountered:
This can be added, but it will require me to change a lot of my current code. So for now I'll put it on my TO-DO list.
Sorry, something went wrong.
thanks
No branches or pull requests
can you add that? this for example:
import os
from audio_separator.separator import Separator
input = "/content/input.mp3"
output = "/content/output"
separator = Separator(output_dir=output)
Vocals and Instrumental
vocals = os.path.join(output, 'Vocals.wav')
instrumental = os.path.join(output, 'Instrumental.wav')
Vocals with Reverb and Vocals without Reverb
vocals_reverb = os.path.join(output, 'Vocals (Reverb).wav')
vocals_no_reverb = os.path.join(output, 'Vocals (No Reverb).wav')
Lead Vocals and Backing Vocals
lead_vocals = os.path.join(output, 'Lead Vocals.wav')
backing_vocals = os.path.join(output, 'Backing Vocals.wav')
Splitting a track into Vocal and Instrumental
separator.load_model(model_filename='model_bs_roformer_ep_317_sdr_12.9755.ckpt')
voc_inst = separator.separate(input)
os.rename(os.path.join(output, voc_inst[0]), instrumental) # Rename file to “Instrumental.wav”
os.rename(os.path.join(output, voc_inst[1]), vocals) # Rename file to “Vocals.wav”
Applying DeEcho-DeReverb to Vocals
separator.load_model(model_filename='UVR-DeEcho-DeReverb.pth')
voc_no_reverb = separator.separate(vocals)
os.rename(os.path.join(output, voc_no_reverb[0]), vocals_no_reverb) # Rename file to “Vocals (No Reverb).wav”
os.rename(os.path.join(output, voc_no_reverb[1]), vocals_reverb) # Rename file to “Vocals (Reverb).wav”
Separating Back Vocals from Main Vocals
separator.load_model(model_filename='mel_band_roformer_karaoke_aufr33_viperx_sdr_10.1956.ckpt')
backing_voc = separator.separate(vocals_no_reverb)
os.rename(os.path.join(output, backing_voc[0]), backing_vocals) # Rename file to “Backing Vocals.wav”
os.rename(os.path.join(output, backing_voc[1]), lead_vocals) # Rename file to “Lead Vocals.wav”
The text was updated successfully, but these errors were encountered: