11#ifndef MARVIN_BIQUADCOEFFICIENTS_H
12#define MARVIN_BIQUADCOEFFICIENTS_H
21 template <FloatType SampleType>
23 SampleType
a0{
static_cast<SampleType
>(0.0) };
24 SampleType
a1{
static_cast<SampleType
>(0.0) };
25 SampleType
a2{
static_cast<SampleType
>(0.0) };
26 SampleType
b0{
static_cast<SampleType
>(0.0) };
27 SampleType
b1{
static_cast<SampleType
>(0.0) };
28 SampleType
b2{
static_cast<SampleType
>(0.0) };
30 template <FloatType U>
40 template <FloatType SampleType>
42 return (a.a0 == b.a0) &&
56 template <FloatType SampleType>
Digital filter functions and classes.
Definition marvin_SVF.h:15
bool operator!=(const BiquadCoefficients< SampleType > &a, const BiquadCoefficients< SampleType > &b) noexcept
Definition marvin_BiquadCoefficients.h:57
bool operator==(const BiquadCoefficients< SampleType > &a, const BiquadCoefficients< SampleType > &b) noexcept
Definition marvin_BiquadCoefficients.h:41
A POD type for use with the Biquad class, and the SmoothedBiquadCoefficients class.
Definition marvin_BiquadCoefficients.h:22
SampleType a2
Definition marvin_BiquadCoefficients.h:25
SampleType b2
Definition marvin_BiquadCoefficients.h:28
friend bool operator==(const BiquadCoefficients< SampleType > &a, const BiquadCoefficients< SampleType > &b)
Definition marvin_BiquadCoefficients.h:41
SampleType b0
Definition marvin_BiquadCoefficients.h:26
SampleType a1
Definition marvin_BiquadCoefficients.h:24
SampleType a0
Definition marvin_BiquadCoefficients.h:23
SampleType b1
Definition marvin_BiquadCoefficients.h:27