The rubberband package contains libraries and utilities that can effectively stretch audio time-wise and modify the pitch of a given audio file. This can be really useful when editing videos through something like kdenlive, but can also be used in other software such as FFmpeg. You will have to recompile the software that can use it and may have to add options to those packages to enable rubberband support.
In the case of kdenlive, it depends on MLT for effects. As such, you don't need to recompile kdenlive, but you must recompile MLT with rubberband support. Currently, MLT autodetects if rubberband is present, and will enable the support automatically during configuration, so no additional options are necessary.
boost, fftw, OpenJDK, ladspa, lv2, libsamplerate, Speex, and vamp-plugin-sdk
libsamplerate and Speex can be used as resamplers instead of the built-in implementation. Check “Command Explanations” for more information.
Install rubberband by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
Now, as the root
user:
ninja install && rm -vf /usr/lib/librubberband.a
-D resampler=
: This option can be used
to specify the resampler to use. By default, it will use the
built-in implementation. You can specify libsamplerate
, speex
,
or speexdsp
to override the default. If
you are going to do this, it is recommended to use libsamplerate
.
rm -vf /usr/lib/librubberband.a: Removes a useless static library.