Skip to content
New issue

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

If you want to do manual seperate ; #30

Open
Enes-s opened this issue Oct 31, 2023 · 0 comments
Open

If you want to do manual seperate ; #30

Enes-s opened this issue Oct 31, 2023 · 0 comments

Comments

@Enes-s
Copy link

Enes-s commented Oct 31, 2023

If you want to do manual seperate ;
It can be integrated into the sound obtained at the model output or the input sound. There is a seperate code inside but it can be used if you want to do it more manually.
I think it is more effective than the one in colab

from audio_separator import Separator

Initialize the Separator with the audio file and model name

seperate_target_audio = "/content/1.wav" #@param {type:"string"}
separator = Separator(seperate_target_audio, model_name='UVR_MDXNET_KARA_2')

Perform the separation

primary_stem_path, secondary_stem_path = separator.separate()

print(f'Primary stem saved at {primary_stem_path}')
print(f'Secondary stem saved at {secondary_stem_path}')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant