LMMS
Loading...
Searching...
No Matches
lmms::LinkwitzRiley< CHANNELS > Class Template Reference

#include <BasicFilters.h>

Public Member Functions

 LinkwitzRiley (float sampleRate)
virtual ~LinkwitzRiley ()=default
void clearHistory ()
void setSampleRate (float sampleRate)
void setCoeffs (float freq)
void setLowpass (float freq)
void setHighpass (float freq)
float update (float in, ch_cnt_t ch)

Private Types

using frame = std::array<double, CHANNELS>

Private Attributes

float m_sampleRate
double m_wc4
double m_k4
double m_a
double m_a0
double m_a1
double m_a2
double m_b1
double m_b2
double m_b3
double m_b4
frame m_z1
frame m_z2
frame m_z3
frame m_z4

Member Typedef Documentation

◆ frame

template<ch_cnt_t CHANNELS>
using lmms::LinkwitzRiley< CHANNELS >::frame = std::array<double, CHANNELS>
private

Constructor & Destructor Documentation

◆ LinkwitzRiley()

template<ch_cnt_t CHANNELS>
lmms::LinkwitzRiley< CHANNELS >::LinkwitzRiley ( float sampleRate)
inline

◆ ~LinkwitzRiley()

template<ch_cnt_t CHANNELS>
virtual lmms::LinkwitzRiley< CHANNELS >::~LinkwitzRiley ( )
virtualdefault

Member Function Documentation

◆ clearHistory()

template<ch_cnt_t CHANNELS>
void lmms::LinkwitzRiley< CHANNELS >::clearHistory ( )
inline

◆ setCoeffs()

template<ch_cnt_t CHANNELS>
void lmms::LinkwitzRiley< CHANNELS >::setCoeffs ( float freq)
inline

◆ setHighpass()

template<ch_cnt_t CHANNELS>
void lmms::LinkwitzRiley< CHANNELS >::setHighpass ( float freq)
inline

◆ setLowpass()

template<ch_cnt_t CHANNELS>
void lmms::LinkwitzRiley< CHANNELS >::setLowpass ( float freq)
inline

◆ setSampleRate()

template<ch_cnt_t CHANNELS>
void lmms::LinkwitzRiley< CHANNELS >::setSampleRate ( float sampleRate)
inline

◆ update()

template<ch_cnt_t CHANNELS>
float lmms::LinkwitzRiley< CHANNELS >::update ( float in,
ch_cnt_t ch )
inline

Member Data Documentation

◆ m_a

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_a
private

◆ m_a0

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_a0
private

◆ m_a1

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_a1
private

◆ m_a2

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_a2
private

◆ m_b1

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_b1
private

◆ m_b2

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_b2
private

◆ m_b3

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_b3
private

◆ m_b4

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_b4
private

◆ m_k4

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_k4
private

◆ m_sampleRate

template<ch_cnt_t CHANNELS>
float lmms::LinkwitzRiley< CHANNELS >::m_sampleRate
private

◆ m_wc4

template<ch_cnt_t CHANNELS>
double lmms::LinkwitzRiley< CHANNELS >::m_wc4
private

◆ m_z1

template<ch_cnt_t CHANNELS>
frame lmms::LinkwitzRiley< CHANNELS >::m_z1
private

◆ m_z2

template<ch_cnt_t CHANNELS>
frame lmms::LinkwitzRiley< CHANNELS >::m_z2
private

◆ m_z3

template<ch_cnt_t CHANNELS>
frame lmms::LinkwitzRiley< CHANNELS >::m_z3
private

◆ m_z4

template<ch_cnt_t CHANNELS>
frame lmms::LinkwitzRiley< CHANNELS >::m_z4
private

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