You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rubberband CLI has the same behavior; it hangs during the first studying pass at 99% CPU until you send it a break:
$ rubberband -d3 -t 2.0 /tmp/tmpzGl2Zt.wav /tmp/tmpzGl2Zt_2.wav
Using crispness level: 5 (Crisp monophonic instrumental)
Using time ratio 2 and frequency ratio 1
RubberBandStretcher::Impl::Impl: rate = 125, options = 16
configure: effective ratio = 2
configure: analysis window size = 8, synthesis window size = 8, fft size = 8, increment = 0 (approx output increment = 0)
configure: outbuf size = 8192
Window area: 0.5; synthesis window area: 0.5
FFT::FFT(8): using implementation: fftw
Not real time mode: prefilling
configure: effective ratio = 2
configure: analysis window size = 8, synthesis window size = 8, fft size = 8, increment = 0 (approx output increment = 0)
configure: outbuf size = 8192
Not real time mode: prefilling
configure: effective ratio = 2
configure: analysis window size = 8, synthesis window size = 8, fft size = 8, increment = 0 (approx output increment = 0)
configure: outbuf size = 8192
Pass 1: Studying...
Interestingly, this only seems to be an issue when rate for time_stretch < 1 or when n_steps for pitch_shift > 0, otherwise it runs fine.
I haven't had time to dig into the rubberband source and likely will not any time soon but I've noticed that passing the --window-long flag will allow it to run to completion. IE these both run fine:
I've noticed that when you try to use rubberband on very low-samplerate signals (anything 210Hz and below) rubberband will hang.
These both hang:
These both work
The rubberband CLI has the same behavior; it hangs during the first studying pass at 99% CPU until you send it a break:
Interestingly, this only seems to be an issue when
rate
fortime_stretch
< 1 or whenn_steps
forpitch_shift
> 0, otherwise it runs fine.I haven't had time to dig into the rubberband source and likely will not any time soon but I've noticed that passing the
--window-long
flag will allow it to run to completion. IE these both run fine:It's hacky, but would it make sense to simply add a conditional that would add the
--window-long
flag to anysr
<= 210?The text was updated successfully, but these errors were encountered: