C BSD-2-Clause

libsamplerate

An audio Sample Rate Conversion library

L

libsndfile

Dernière activité 13 août 2026
libsndfile/libsamplerate

745

étoiles

205

forks

38

issues ouvertes

ccmakelibsamplerateresample-audio-files

Ce README est souvent en anglais.

Logo

This is libsamplerate, 0.2.2.

libsamplerate (also known as Secret Rabbit Code) is a library for performing sample rate conversion of audio data.

  • The src/ directory contains the source code for library itself.
  • The docs/ directory contains the libsamplerate documentation.
  • The examples/ directory contains examples of how to write code using libsamplerate.
  • The tests/ directory contains programs which link against libsamplerate and test its functionality.
  • The Win32/ directory contains files to allow libsamplerate to compile under Win32 with the Microsoft Visual C++ compiler.

Additional references:


Build Status

Branch Status
master Build

Branches actively built by GitHub Actions.


Win32

There are detailed instructions for building libsamplerate on Win32 in the file docs/win32.md.

macOS

Building on macOS should be the same as building it on any other Unix platform.

Other Platforms

To compile libsamplerate on platforms which have a Bourne compatible shell, an ANSI C compiler and a make utility should require no more that the following three commands:

autoreconf -vif
./configure
make
make install

CMake

There is a new CMake-based build system available:

mkdir build
cd build
cmake ..
make
  • Use cmake -DCMAKE_BUILD_TYPE=Release .. to make a release build.
  • Use cmake -DBUILD_SHARED_LIBS=ON .. to build a shared library.

Contacts

libsamplerate was written by Erik de Castro Lopo.

Projets similaires

A C library for reading and writing sound files containing sampled audio data.

Caudio-libraryccmake
Llibsndfile
1,7 k étoiles466

High-quality pro audio resampler / sample rate conversion header-only C++ library. Very fast, for both audio resampling and time-series interpolation.

C++audioaudio-libraryaudio-processing
Aavaneev
742 étoiles84

High quality command-line audio sample rate converter

Caudio-applicationsaudio-conversionbit-depth
Jjniemann66
190 étoiles28