So You Want to Make a Spring
The physics of a spring reverb, derived from the wire up: the helix equations, the mode they make, the transition frequency where the echoes turn around, and why a spring turns a click into a rising chirp.
Trusted by hundreds of engineers
Open source · WRAY
Header-only C++23 for audio DSP. exp, log, sin, tanh and friends, way quicker than std:: and checked against 40 digit maths.
NEON · SSE2 · scalar / float · double / GPL-2.0.
#include <wray/wray.h>
float a = wray::exp(0.5f);
double b = wray::atan2(1.0, -2.0);
// SIMD vectors and whole buffers too
auto v = wray::tanh(wray::f32x4(0.25f));
wray::sin(input, output);
// the fast tier, 2^-16 relative error
float c = wray::fast::tanh(x);
curl -Ls https://github.com/marsDSP/WRAY/archive/main.tar.gz | tar xz
brew install marsdsp/tap/wray
include(FetchContent)
FetchContent_Declare(wray GIT_REPOSITORY https://github.com/marsDSP/WRAY GIT_TAG main)
FetchContent_MakeAvailable(wray)
target_link_libraries(your_plugin PRIVATE wray::wray)
Speedup over std::
float, Apple M1 Max, clang 17, NEON. The faint bar is the fast tier. double is quicker too, the full chart is on GitHub.
Under the hood
Every plugin starts from an actual schematic. We solve it at audio rate and then check it against the maths.
The numbers
The proof
Grab one, throw it on a bus, and tell us what breaks.
macOS · Windows · Linux / AU · VST3 · Standalone
Lissajous Labs makes audio plugins for music production.
The physics of a spring reverb, derived from the wire up: the helix equations, the mode they make, the transition frequency where the echoes turn around, and why a spring turns a click into a rising chirp.
Install help and beta details are in the FAQ. For anything else, get in touch.
Free and open to all. Members get first word on everything the Lab is working on: new plugins, betas, updates and DSP write-ups.
For producers, sound designers and tinkerers: tick the box to join the beta group and get early builds of upcoming plugins. Add a brief note about yourself when subscribing.