sst-filters
Filters submodule for the Surge Synthesizer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
LinkwitzRileyLR4Crossover Struct Reference

#include <LinkwitzRiley.h>

Public Member Functions

void init ()
 
void setCoeff (float crossoverFreq, float srInv)
 
void step (float L, float R, float &lowL, float &lowR, float &highL, float &highR)
 
template<int blockSize>
void setCoeffForBlock (float crossoverFreq, float srInv)
 
template<int blockSize>
void retainCoeffForBlock ()
 
void processBlockStep (float L, float R, float &lowL, float &lowR, float &highL, float &highR)
 
template<int blockSize>
void processBlock (const float *const inL, const float *const inR, float *lowL, float *lowR, float *highL, float *highR)
 

Public Attributes

CytomicSVF stage1
 
CytomicSVF stage2
 
SIMD_M128 da1 {SIMD_MM(setzero_ps)()}
 
SIMD_M128 da2 {SIMD_MM(setzero_ps)()}
 
SIMD_M128 da3 {SIMD_MM(setzero_ps)()}
 
bool firstBlock {true}
 

Static Public Attributes

static constexpr float butterworthRes {0.2928932188134524f}
 
static constexpr std::array< CytomicSVF::Mode, 4 > crossoverModes
 

Member Function Documentation

◆ init()

void init ( )

◆ setCoeff()

void setCoeff ( float  crossoverFreq,
float  srInv 
)

◆ step()

void step ( float  L,
float  R,
float &  lowL,
float &  lowR,
float &  highL,
float &  highR 
)

◆ setCoeffForBlock()

template<int blockSize>
void setCoeffForBlock ( float  crossoverFreq,
float  srInv 
)

◆ retainCoeffForBlock()

template<int blockSize>
void retainCoeffForBlock ( )

◆ processBlockStep()

void processBlockStep ( float  L,
float  R,
float &  lowL,
float &  lowR,
float &  highL,
float &  highR 
)

◆ processBlock()

template<int blockSize>
void processBlock ( const float *const  inL,
const float *const  inR,
float *  lowL,
float *  lowR,
float *  highL,
float *  highR 
)

Member Data Documentation

◆ stage1

CytomicSVF stage1

◆ stage2

CytomicSVF stage2

◆ butterworthRes

constexpr float butterworthRes {0.2928932188134524f}
staticconstexpr

◆ crossoverModes

constexpr std::array<CytomicSVF::Mode, 4> crossoverModes
staticconstexpr

◆ da1

SIMD_M128 da1 {SIMD_MM(setzero_ps)()}

◆ da2

SIMD_M128 da2 {SIMD_MM(setzero_ps)()}

◆ da3

SIMD_M128 da3 {SIMD_MM(setzero_ps)()}

◆ firstBlock

bool firstBlock {true}

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