cloudseedcore-rs
This crate provides safe Rust bindings to the CloudSeedCore Reverb algorithm.
The specific version vendored is commit b46bd7e
on talaviram's fork, which fixes some cross-platform compatibility issues.
Building this crate requires a C++14 toolchain. The C++ bindings are created using cxx.
Hear it
Output of one of the test cases, wide pulse with the Dark Plate preset applied:
https://github.com/user-attachments/assets/fb64421c-4911-4527-8389-5030926e4b85
Example usage
use
// create the reverb instance
let sample_rate = 48_000;
let block_size = 512;
let mut reverb = new;
// load the "Dark Plate" preset
reverb.set_program;
// only output wet signal
reverb.set_parameter;
// process stereo audio
// assuming you have four sample buffers of size block_size, two for input, two for output:
reverb.process;
// to persist the reverb's parameter state,
// you can get them as an array of f32 like so:
let state = reverb.get_program.to_array;
License
This crate is MIT licensed.
Any code under vendor/CloudSeedCore falls under the original MIT license,
reproduced within that directory.