Utilities related to DSP
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.
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.
- 🔉 SvfLinearTrapOptimised2_Dry.wav
- 🔉 SvfLinearTrapOptimised2_Lpf.wav
- 🔉 SvfLinearTrapOptimised2_Bpf.wav
- 🔉 SvfLinearTrapOptimised2_Hpf.wav
- 🔉 SvfLinearTrapOptimised2_Notch.wav
- 🔉 SvfLinearTrapOptimised2_Peak.wav
- 🔉 SvfLinearTrapOptimised2_All.wav
- 🔉 SvfLinearTrapOptimised2_Bell.wav
- 🔉 SvfLinearTrapOptimised2_Lsf.wav
- 🔉 SvfLinearTrapOptimised2_Hsf.wav
g++ SvfLinearTrapOptimised2Demo.cpp -o SvfLinearTrapOptimised2Demo
./SvfLinearTrapOptimised2Demo
Provides a basic Saw oscillator (aliasing-free)
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!