rubberband-4.0.0

Introduction to rubberband

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.

[Tip]

Tip

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.

rubberband Dependencies

Recommended

Optional

boost, fftw, OpenJDK, LADSPA-SDK-1.17, lv2, libsamplerate, Speex, and vamp-plugin-sdk

[Note]

Note

libsamplerate and Speex can be used as resamplers instead of the built-in implementation. Check Command Explanations for more information.

Installation of rubberband

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

Command Explanations

--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.

Contents

Installed Programs: rubberband and rubberband-r3 (duplicate of rubberband)
Installed Libraries: librubberband
Installed Directories: /usr/include/rubberband

Short Descriptions

rubberband

utilizes rubberband to generate new audio files with modified time and pitch

librubberband

provides functions for pitch-shifting and time-stretching