Designing Audio Effects Plugins in C++ 2nd Ed.

  • Chapter 13 Modulators: LFOs and Envelope Detectors



  • implements a 2nd order resonant modulated LPF using the MMA LPF2 algorithm
  • uses signal detection in dB and measures distances above threshold in dB



  • try changing the filter type to a BPF or a Reson filter for more of a wah-wah sound
  • add a HPF in the side-chain to prevent aggressive bass frequencies from triggering the filter accidentally – especially important for guitar effects



ASPiK: ModFilter ASPiK

RackAFX7: ModFilter RAFX7

JUCE/iPlug: JUCE/iPlug Notes