Skip to content

nsdrozario/mindsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MinDSP

Header-only DSP library

Features

  • 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

Examples

Biquad

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());

Releases

No releases published

Packages

No packages published

Languages