libkeyfinder-sys 0.1.0

Rust bindings to libkeyfinder - musical key detection for audio
docs.rs failed to build libkeyfinder-sys-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

libkeyfinder-sys

Rust bindings for libkeyfinder - musical key detection for audio.

use libkeyfinder_sys::{KeyFinder, AudioData};

let mut audio = AudioData::new();
audio.set_frame_rate(44100);
audio.set_channels(2);
audio.extend(samples);

let mut kf = KeyFinder::new();
let key = kf.key_of_audio(&audio);

See documentation for details.

License

GPL v3 or later.