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

recreate mpv rubberband profile command [question] #105

Closed
geextahslex opened this issue Aug 14, 2024 · 2 comments
Closed

recreate mpv rubberband profile command [question] #105

geextahslex opened this issue Aug 14, 2024 · 2 comments

Comments

@geextahslex
Copy link

Hi, this is a question I didn't find any forum or something so I just ask here
I want to slow down a song to 95% with rubberband-r3 to make it exactly the same like the implementation in mpv. I tried to look into the help but I was overwhelmed by all the options. If someone could help me with this command line this would be awesome.

command:
rubberband-r3 song.wav output.wav

Thanks for any help :)

tempo=0.95
transients=mixed
detector=compound
phase=laminar
window=standard
smoothing=off
formant=preserved
pitch=consistency
channels=together
engine=finer (this is R3 Engine)
pitch-scale=1

@geextahslex geextahslex changed the title recreate mpv rubberband profile command recreate mpv rubberband profile command [question] Aug 14, 2024
@cannam
Copy link
Member

cannam commented Aug 14, 2024

Not actually familiar with the mpv interface, but interpreting these in the most plausible-seeming ways:

tempo=0.95

This is --tempo 0.95 or -T 0.95

transients=mixed
detector=compound
phase=laminar
smoothing=off

None of these are relevant to the R3 engine. The latter three are the defaults in any case. The first one is equivalent to --bl-transients.

window=standard

This is the default (as you might expect)

formant=preserved

This is --formant or -F, but it's only relevant when pitch shifting, which it appears you are not doing

pitch=consistency

There is no option for this in the Rubber Band command-line tool. It's relevant only when changing the pitch ratio in the middle of processing, and if you ask the command-line tool to do that (by supplying a pitch or frequency map) it will enable this option automatically.

channels=together

This is --centre-focus

engine=finer (this is R3 Engine)

Yep, so the -3 option or invoke the utility as rubberband-r3.

pitch-scale=1

I assume this means no pitch shift, rather than shift by 1 of something (semitones or whatever). So no option is needed.

Putting that together,

$ rubberband-r3 --tempo 0.95 --centre-focus in.wav out.wav

@geextahslex
Copy link
Author

God bless you, thank you so much. That helped. R3 is really impressive, better than Cubase.
I guess mpv printed all the values for both R2 and R3, so sorry for the mess ^^

Thanks again! :)

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

2 participants