3 unstable releases
| 0.2.2 | Jan 10, 2026 |
|---|---|
| 0.2.0 | Oct 20, 2024 |
| 0.1.0 | Oct 4, 2024 |
#459 in Audio
36 downloads per month
Used in 2 crates
(via firefly-runtime)
40KB
1.5K
SLoC
firefly-audio
[ 📄 docs ] [ 🐙 github ] [ 📦 crates.io ]
Rust crate for generating and processing digital audio. Powers the audio in Firefly Zero. If you're looking into using audio in a Firefly Zero app, check out Firefly Zero documentation.
Installation
cargo add firefly-audio
Usage
let mut manager = firefly_audio::Manager::new();
let node = Box::new(firefly_audio::Sine::new(440., 0.));
manager.add_node(0, node);
let mut buf = [0u8; 44_100];
manager.write(&mut buf);
Dependencies
~1.5MB
~37K SLoC