freq-det

Crates.iofreq-det
lib.rsfreq-det
version0.3.1
sourcesrc
created_at2024-06-22 20:47:13.853836
updated_at2024-06-30 06:45:48.905795
descriptionDetecting the most prominent frequency in samples using FFT
homepage
repositoryhttps://github.com/samoylovfp/freq-det
max_upload_size
id1280690
size43,708
(samoylovfp)

documentation

README

Frequency detector

use freq_det::FreqDetector;

let detector = FreqDetector::new(44100, 4096).unwrap();
let freq: f32 = detector.detect(&samples).unwrap();

It is that easy!

Consult with from_mic.rs to see how microphone sound can be analyzed.

Contributions

PRs are welcome!

Commit count: 8

cargo fmt