Crates.io | rundsp |
lib.rs | rundsp |
version | 0.1.1 |
created_at | 2025-08-18 19:47:23.575896+00 |
updated_at | 2025-08-18 19:49:02.396102+00 |
description | Making fundsp even more fun |
homepage | https://github.com/rambles-app/rundsp |
repository | https://github.com/rambles-app/rundsp |
max_upload_size | |
id | 1800972 |
size | 137,067 |
rundsp
makes fundsp
even more funThe fundsp
crate is a fantastic way to do audio processing
in Rust, but actually recording and playing live audio with it requires some boilerplate to plug it
into an audio I/O backend like cpal
.
I want to live in a world where playing a sound is as simple as this:
use rundsp::fundsp::hacker::*;
rundsp::output(sine_hz(110.0)).run();
And I want it to be just as easy to do simultaneous stereo input and output:
// Let's make it sound like we're in a giant cave
let reverb = reverb2_stereo(20.0, 3.0, 1.0, 0.2, highshelf_hz(1000.0, 1.0, db_amp(-1.0)));
let chorus = chorus(0, 0.0, 0.03, 0.2) | chorus(1, 0.0, 0.03, 0.2);
let effects = chorus >> ((0.8 * reverb) & (0.2 * multipass()));
// Feed the input directly into the output effects
rundsp::mic().output(effects).run();
I built rundsp
so that I could live in that world today. Maybe you can too!
For more details, check out the docs or the examples.