22 template <FloatType SampleType>
38 template <FloatType SampleType>
104 SampleType m_k{
static_cast<SampleType
>(0.0) };
105 SampleType m_s1{
static_cast<SampleType
>(0.0) };
106 SampleType m_s2{
static_cast<SampleType
>(0.0) };
A TPT State Variable Filter, based on the structure from Vadim Zavalishin's The Art of VA Filter Desi...
Definition marvin_SVF.h:39
void initialise(double sampleRate)
FilterType
Definition marvin_SVF.h:44
@ LowShelf
Definition marvin_SVF.h:50
@ Highpass
Definition marvin_SVF.h:45
@ Bandpass
Definition marvin_SVF.h:46
@ BandShelf
Definition marvin_SVF.h:49
@ Lowpass
Definition marvin_SVF.h:47
@ Notch
Definition marvin_SVF.h:52
@ HighShelf
Definition marvin_SVF.h:51
@ NormalisedBandpass
Definition marvin_SVF.h:48
@ Allpass
Definition marvin_SVF.h:53
void setGainDb(SampleType newGainDb)
SampleType operator()(FilterType type, SampleType x)
void setFrequency(SampleType newFrequency)
SVFResult< SampleType > operator()(SampleType x)
void setResonance(SampleType newResonance)
Digital filter functions and classes.
Definition marvin_SVF.h:15
POD Struct containing the results from a tick on an instance of an SVF.
Definition marvin_SVF.h:23
SampleType bandShelf
Definition marvin_SVF.h:28
SampleType allpass
Definition marvin_SVF.h:32
SampleType lowpass
Definition marvin_SVF.h:26
SampleType highShelf
Definition marvin_SVF.h:30
SampleType notch
Definition marvin_SVF.h:31
SampleType lowShelf
Definition marvin_SVF.h:29
SampleType bandpass
Definition marvin_SVF.h:25
SampleType normalisedBandpass
Definition marvin_SVF.h:27
SampleType highpass
Definition marvin_SVF.h:24