Skip to content

Commit

Permalink
Update resampler selection text to note that libsamplerate is particu…
Browse files Browse the repository at this point in the history
…larly faster n 32-bit builds
  • Loading branch information
cannam committed Jun 26, 2023
1 parent df596f4 commit 1eddafd
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,14 @@ library code, please be sure to review the terms for those libraries
in `src/ext/speex/COPYING` and `src/ext/kissfft/COPYING` as applicable.

If you are proposing to package Rubber Band for a Linux distribution,
please select either the built-in FFT or FFTW, and either the built-in
resampler or libsamplerate.
please select either the built-in FFT (the default) or FFTW
(`-Dfft=fftw`), and either the built-in resampler (the default) or
libsamplerate (`-Dresampler=libsamplerate`).

On some configurations (e.g. 32-bit platforms) libsamplerate is much
faster than the built-in resampler, and it makes a reasonable choice
for platform builds for which you don't know the requirements of any
specific application.

### FFT libraries supported

Expand Down Expand Up @@ -324,11 +330,14 @@ Built-in -Dresampler=builtin -DUSE_BQRESAMPLER Default.
Intended to give high quality
for time-varying pitch shifts
in real-time mode.
Not the fastest option.
Not the fastest option;
especially slow in 32-bit
builds.
libsamplerate -Dresampler=libsamplerate -DHAVE_LIBSAMPLERATE Good choice in most cases.
High quality and usually a bit
faster than the built-in option.
High quality; usually a bit
faster than the built-in option;
much faster in 32-bit builds.
BSD-ish licence.
libspeexdsp -Dresampler=libspeexdsp -DHAVE_LIBSPEEXDSP Very fast.
Expand Down

0 comments on commit 1eddafd

Please sign in to comment.