| Crates.io | freq-det |
| lib.rs | freq-det |
| version | 0.3.1 |
| created_at | 2024-06-22 20:47:13.853836+00 |
| updated_at | 2024-06-30 06:45:48.905795+00 |
| description | Detecting the most prominent frequency in samples using FFT |
| homepage | |
| repository | https://github.com/samoylovfp/freq-det |
| max_upload_size | |
| id | 1280690 |
| size | 43,708 |
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.
PRs are welcome!