SynthLab SDK
SynthLab::SimpleLPF Class Reference

Encapsulates a tiny first order, all-pole LPF object. More...

#include <limiter.h>

Public Member Functions

virtual bool reset (double _sampleRate)
 
void setLPF_g (double _lpf_g)
 
virtual double processAudioSample (double xn)
 

Detailed Description

Encapsulates a tiny first order, all-pole LPF object.

Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included and described in further detail in Designing Software Synthesizer Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2021 / 04 / 26

Member Function Documentation

◆ processAudioSample()

virtual double SynthLab::SimpleLPF::processAudioSample ( double  xn)
inlinevirtual

process simple one pole FB back filter

Parameters
xninput
Returns
the processed sample

◆ reset()

virtual bool SynthLab::SimpleLPF::reset ( double  _sampleRate)
inlinevirtual

reset members to initialized state

◆ setLPF_g()

void SynthLab::SimpleLPF::setLPF_g ( double  _lpf_g)
inline

set one and only g-coefficient

Parameters
_lpf_gthe b1 coefficient

The documentation for this class was generated from the following file: