-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Renaming files within audio-separator
#128
Comments
Sure, fine by me if it doesn't break existing workflows - if you implement this in a PR, please add tests :) |
I don't think I can do it, but I'll try :) |
Q. Would the os.rename solve a problem with output-dir giving filenames with parenthesis around the stem names? audio-separator "$file" --output_dir "$output_dir" --output_format wav --single_stem vocals |
PR #141 now merged, so the new CLI parameters Thanks for your contribution @Bebra777228 🙇 and @StarMariner this is probably one option to help you out now, since you could specify simple output filenames with no special characters in them, e.g. However, if you open a discussion thread and share your shell script code, I can probably help you learn how to handle special characters properly - that's basic shell scripting stuff which you can learn on the internet pretty easily (especially with the help of LLMs these days) so you should be able to get it working 😄 |
I suggest improving the functionality of the audio-separator by adding two new parameters to the
separate
function:primary_name
andsecondary_name
.As a result, the code will look like this:
If these parameters are not specified, the files will be output in the same way they are saved now.
This will be a more convenient option compared to the current approach, which requires additional file renaming:
Hope my idea is clear!
The text was updated successfully, but these errors were encountered: