Signalsmith Audio's DSP Library  1.6.0
Useful C++ classes/templates for audio effects
Signalsmith Audio's DSP Library

A C++11 header-only library, providing classes/templates for (mostly audio) signal-processing tasks.

More detail is in the main project page, and the Doxygen docs.

Basic use

git clone https://signalsmith-audio.co.uk/code/dsp.git

Just include the header file(s) you need, and start using classes:

#include "dsp/delay.h"
Delay delayLine(1024);
A single-channel delay-line containing its own buffer.
Definition: delay.h:612

You can add a compile-time version-check to make sure you have a compatible version of the library:

#include "dsp/envelopes.h"
#define SIGNALSMITH_DSP_VERSION_CHECK(major, minor, patch)
Check the library version is compatible (semver).
Definition: common.h:35

Development / contributing

Tests (and source-scripts for the above docs) are available in a separate repo:

git clone https://signalsmith-audio.co.uk/code/dsp-doc.git

The goal (where possible) is to measure/test the actual audio characteristics of the tools (e.g. frequency responses and aliasing levels).

License

This code is MIT licensed. If you'd prefer something else, get in touch.