Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/libsndfile/libsamplerate
An audio Sample Rate Conversion library
https://github.com/libsndfile/libsamplerate
c cmake libsamplerate resample-audio-files
Last synced: 5 days ago
JSON representation
An audio Sample Rate Conversion library
- Host: GitHub
- URL: https://github.com/libsndfile/libsamplerate
- Owner: libsndfile
- License: bsd-2-clause
- Created: 2014-11-30T11:34:03.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-08-04T18:10:49.000Z (5 months ago)
- Last Synced: 2024-12-11T23:12:28.609Z (12 days ago)
- Topics: c, cmake, libsamplerate, resample-audio-files
- Language: C
- Homepage: http://libsndfile.github.io/libsamplerate/
- Size: 18.6 MB
- Stars: 621
- Watchers: 31
- Forks: 172
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
![Logo](docs/SRC.png)
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/`](https://github.com/libsndfile/libsamplerate/tree/master/src) directory contains the source code for library itself.
* The [`docs/`](https://github.com/libsndfile/libsamplerate/tree/master/docs) directory contains the libsamplerate documentation.
* The [`examples/`](https://github.com/libsndfile/libsamplerate/tree/master/examples) directory contains examples of how to write code using libsamplerate.
* The [`tests/`](https://github.com/libsndfile/libsamplerate/tree/master/tests) directory contains programs which link against libsamplerate and test its functionality.
* The [`Win32/`](https://github.com/libsndfile/libsamplerate/tree/master/Win32) directory contains files to allow libsamplerate to compile under Win32 with the Microsoft Visual C++ compiler.Additional references:
* [Official website](http://libsndfile.github.io/libsamplerate//)
* [GitHub](https://github.com/libsndfile/libsamplerate)---
## Build Status
| Branch | Status |
|----------------|-------------------------------------------------------------------------------------------------------------------|
| `master` | ![Build](https://github.com/libsndfile/libsamplerate/workflows/Build/badge.svg) |Branches [actively built](https://github.com/libsndfile/libsamplerate/actions) by GitHub Actions.
---
## Win32
There are detailed instructions for building libsamplerate on Win32 in the file [`docs/win32.md`](https://github.com/libsndfile/libsamplerate/tree/master/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:
```bash
autoreconf -vif
./configure
make
make install
```## CMake
There is a new [CMake](https://cmake.org/download/)-based build system available:
```bash
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](mailto:[email protected]).