Crates.io | lyd |
lib.rs | lyd |
version | 0.0.2 |
source | src |
created_at | 2023-04-24 11:18:05.146604 |
updated_at | 2023-04-26 16:43:33.189411 |
description | Music dsp library written in Rust with a focus on performance and elegancy. |
homepage | |
repository | https://github.com/chaosprint/lyd.git |
max_upload_size | |
id | 847333 |
size | 48,454 |
lyd
(the Norwegian/Danish word for audio
) is a rust library that offers an audio graph, nodes, and message system for dynamic audio/music control including node adding, removing and modifying.
lyd
aims to offer and balance:
use lyd::*;
fn main() {
let mut ctx = context().channels(2).frames(1024).sr(48000).build(&[
("~mod", &[sin_osc().freq(10.0).amp(300.), add(500.1)]),
("out", &[sin_osc().freq("~mod"), add(0.1)]),
]);
println!("{:?}", ctx.next_block());
}
more in the examples
folder.
feel free to write your suggestions on github
poc phase with many bugs and the apis can significantly change