rubberband-4.0.0

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 7. Multimedia Libraries

- Prev

  Noise-Suppression-1.10

- Next

  sdl12-compat-1.2.72

- Up
- Home

# 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

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.

- Download: https://github.com/breakfastquay/rubberband/archive/v4.0.0/rubberband-4.0.0.tar.gz

### rubberband Dependencies

#### Recommended

libsndfile

#### Optional

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

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

To test the results, issue: ninja test

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

- Prev

  Noise-Suppression-1.10

- Next

  sdl12-compat-1.2.72

- Up
- Home