https://github.com/katyo/aubio-rs
Rust bindings for Aubio library
https://github.com/katyo/aubio-rs
Last synced: 3 months ago
JSON representation
Rust bindings for Aubio library
- Host: GitHub
- URL: https://github.com/katyo/aubio-rs
- Owner: katyo
- Created: 2020-01-21T17:48:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-21T11:14:18.000Z (over 2 years ago)
- Last Synced: 2025-03-23T21:11:25.059Z (4 months ago)
- Language: Rust
- Size: 160 KB
- Stars: 46
- Watchers: 3
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Safe bindings for _aubio_ library
[](https://github.com/katyo/aubio-rs)
[](https://crates.io/crates/aubio-rs)
[](https://docs.rs/aubio-rs)
[](https://opensource.org/licenses/GPL-3.0)
[](https://github.com/katyo/aubio-rs/actions?query=workflow%3ARust)This crate provides safe Rust bindings to [_aubio_](https://github.com/aubio/aubio) C library.
> _Aubio_ is a library to label music and sounds.
>
> It listens to audio signals and attempts to detect events.
> For instance, when a drum is hit, at which frequency is a note,
> or at what tempo is a rhythmic melody.
>
> Its features include segmenting a sound file before each of its attacks,
> performing pitch detection, tapping the beat and producing midi streams
> from live audio.
>
> Aubio provide several algorithms and routines, including:
>
> - several onset detection methods
> - different pitch detection methods
> - tempo tracking and beat detection
> - MFCC (mel-frequency cepstrum coefficients)
> - FFT and phase vocoder
> - up/down-sampling
> - digital filters (low pass, high pass, and more)
> - spectral filtering
> - transient/steady-state separation
> - sound file read and write access
> - various mathematics utilities for music applications
>
> The name _aubio_ comes from audio with a typo: some errors are likely
> to be found in the results.## Crate features
The following features can be used to customize configuration:
- __bindgen__ Force generate bindings itself instead of use pre-generated (_useful for unsupported archs_)
- __builtin__ Force compile builtin _aubio_ C library
- __pkg-config__ Use _pkg-config_ to find installed libraries
- __shared__ Build shared _aubio_ C-library
- __static__ Build static _aubio_ C-library
- __fftw3__ Enable using _fftw3_ library
- __intelipp__ Enable using _Intel IPP_ library
- __accelerate__ Enable using acceleration framework on _apple_ platforms
- __blas__ Enable using _blas_ library
- __atlas__ Enable using _atlas_ library
- __double__ Enable double presicion of audio sample dataWhen __pkg-config__ feature is used the installed __aubio__ library will be used if found.
To force build and link builtin version you can use __builtin__ feature.
The features such as __fftw3__, __intelipp__, __accelerate__, __blas__, __atlas__ and __double__ is take an effect only for builtin _aubio_ C library.