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 without the -D
MOD_RUBBERBAND=OFF parameter.
boost, fftw, OpenJDK, LADSPA-SDK-1.17, 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
--buildtype=release:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-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.