/Common-DSP

Utilities related to DSP

Primary LanguageC++MIT LicenseMIT

Common-DSP

Utilities related to DSP

SvfLinearTrapOptimised2 (State Variable Filter)

A ready to use C++ port of Andy Simper's implementation of State Variable Filters described in the technical paper provided at http://www.cytomic.com/files/dsp/SvfLinearTrapOptimised2.pdf. Thank you Andy for the time you spent on making those technical papers.

SvfLinearTrapOptimised2Demo

Demonstrates how to use the class SvfLinearTrapOptimised2.

The signal path is very simple: a saw oscillator (aliasing-free) runnning through a filter having its frequency modulated. The resulted signal is saved into wave files, there is a wave file per filter type + a dry version.

This example is for educational purposes only, I've tried to gather various DSP technics around the demonstration of the filter itself.

Build/Execution instruction:

g++ SvfLinearTrapOptimised2Demo.cpp -o SvfLinearTrapOptimised2Demo
./SvfLinearTrapOptimised2Demo

FacSawOsc

Provides a basic Saw oscillator (aliasing-free)

WaveFileWriter

Quick & dirty wave file - This code snippet comes from an example on wavetable oscillator written by Nigel Redmon on 4/31/12 Check his blog! An amazing source of information/example about DSP. Thanks Nigel!