Registry / utility / spectrum-analyzer

spectrum-analyzer

JSON →
library1.7.0rscratesunverified

An easy to use and fast no_std library (with alloc) to get the frequency spectrum of a digital signal (e.g. audio) using FFT.

# Cargo.toml [dependencies] spectrum-analyzer = "1.7.0"
INSTALL
IMPORT
SIG · SPECTRUM-ANALYZER
S
spectrum-analyzer
utilityrustv1.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SpectrumAnalyzer
use spectrum_analyzer::SpectrumAnalyzer;

Analyze frequency spectrum of a digital signal.

use spectrum_analyzer::SpectrumAnalyzer; fn main() { let samples: Vec<f32> = vec![0.0; 1024]; let analyzer = SpectrumAnalyzer::new(44100, samples); let spectrum = analyzer.analyze(); println!("{:?}", spectrum); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
spectrum-analyzer — cargo add spectrum-analyzer · libregistry