rundsp 0.1.0

Making fundsp even more fun
Documentation

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.