rundsp

Crates.iorundsp
lib.rsrundsp
version0.1.1
created_at2025-08-18 19:47:23.575896+00
updated_at2025-08-18 19:49:02.396102+00
descriptionMaking fundsp even more fun
homepagehttps://github.com/rambles-app/rundsp
repositoryhttps://github.com/rambles-app/rundsp
max_upload_size
id1800972
size137,067
finch (plaidfinch)

documentation

https://docs.rs/rundsp

README

rundsp makes fundsp even more fun

The 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.

Commit count: 0

cargo fmt