18 template <FloatType SampleType>
52 [[nodiscard]] SampleType
operator()(SampleType x)
noexcept;
59 double m_sampleRate{ 0.0 };
60 SampleType m_prev{
static_cast<SampleType
>(0.0) };
61 SampleType m_coeff{
static_cast<SampleType
>(0.0) };
A direct form i first order single pole lowpass filter.
Definition marvin_LPF.h:19
void initialise(double sampleRate) noexcept
void setCutoff(SampleType cutoff) noexcept
void setCoeff(SampleType newCoeff) noexcept
SampleType operator()(SampleType x) noexcept
Digital filter functions and classes.
Definition marvin_SVF.h:15