aubio-rs

Crates.ioaubio-rs
lib.rsaubio-rs
version0.2.0
sourcesrc
created_at2020-01-23 18:34:40.810044
updated_at2021-04-30 13:30:58.603549
descriptionSafe bindings for aubio library to label music and sounds.
homepage
repositoryhttps://github.com/katyo/aubio-rs
max_upload_size
id201314
size123,466
Kayo Phoenix (katyo)

documentation

README

Safe aubio library bindings

github crate docs GPL-3.0 CI

This projects aims provide safe Rust bindings for 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 crate 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

When 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.

Commit count: 81

cargo fmt