Header-only DSP library
- FIR Filtering
- Ring buffer / Delay line
- Fractional delay
- Conversion between floating point and decibels
- Biquadratic filter
- Higher-order IIR filter
- FIR filter design
- Biquad filter design
- Low pass filter
- High pass filter
- Peak filter
- Low shelf filter
- High shelf filter
- Notch filter
- Band pass filter
- Window functions
- Hann
- Hamming
- Blackman-Harris
- FFT
- Cooley-Tukey (radix-2)
std::complex<float>
-based FFT automatically resizes non-power of 2 size inputs
- Cooley-Tukey (radix-2)
Low pass filtering
using std::vector;
using namespace mindsp::filter;
vector<float> wave (44100); // any populated array with a wave in floating-point form
biquad_filter bq (low_pass_filter(500, 44100, 1)); // low pass at 500hz at a sample rate of 44.1khz with Q factor of 1
bq.apply(wave.data(),wave.data(),wave.size());