freeverb

Crates.iofreeverb
lib.rsfreeverb
version0.2.0
created_at2023-10-18 07:14:26.295469+00
updated_at2025-10-29 14:04:35.231298+00
descriptionA Rust implementation of the Freeverb algorithm
homepage
repositoryhttps://github.com/irh/freeverb-rs
max_upload_size
id1006458
size19,725
Ian Hobson (irh)

documentation

https://docs.rs/freeverb

README

freeverb-rs

A Rust implementation of the Freeverb algorithm.

About Freeverb

Freeverb was originally written in C++ by "Jezar at Dreampoint", and was released into the public domain in June 2000. It is now widely used in various incarnations in multiple software packages.

About freeverb-rs

This implementation of Freeverb in Rust is an almost direct conversion of the original source, created as a demonstration project for a talk I gave about Rust at the Audio Developer Conference 2018. The code has been updated since then, so if you want to follow along with the talk then take a look at the adc-2018 branch.

A difference from the original implementation is that delay line buffers are dynamically allocated so that lengths can be adjusted for sample rates other than 44.1kHz.

Repo structure

crates/freeverb/

This contains the core implementation of Freeverb, with a simple interface.

crates/clib

A static library that provides C bindings to the Freeverb processor, used by app_juce.

crates/audio_module

This contains a very minimal generic module+parameter library

crates/freeverb_module

The freeverb processor wrapped up as an AudioModule, currently only used by app_gtk.

examples/app_gtk

A very basic audio+GUI application that runs the Freeverb processor.

You will need gtk4 installed on your system for this to work.

examples/app_juce

A very basic JUCE application that runs the Freeverb processor via a statically linked library.

examples/wasm

A library that provides a Wasm interface to the Freeverb processor.

Also in the folder is a small web application that runs the Wasm processor.

Commit count: 0

cargo fmt