Public Types | |
enum | Mode { LP , HP , BP , NOTCH , PEAK , ALL , BELL , LOW_SHELF , HIGH_SHELF } |
Public Member Functions | |
void | setCoeff (Mode mode, float freq, float res, float srInv, float bellShelfAmp=1.f) |
void | setCoeff (Mode mode, float freqL, float freqR, float resL, float resR, float srInv, float bellShelfAmpL, float bellShelfAmpR) |
void | setCoeffPostGK (Mode mode, SIMD_M128 bellShelfSSE) |
void | fetchCoeffs (const CytomicSVF &that) |
template<int blockSize> | |
void | setCoeffForBlock (Mode mode, float freq, float res, float srInv, float bellShelfAmp=1.f) |
template<int blockSize> | |
void | setCoeffForBlock (Mode mode, float freqL, float freqR, float resL, float resR, float srInv, float bellShelfAmpL, float bellShelfAmpR) |
template<int blockSize> | |
void | retainCoeffForBlock () |
void | processBlockStep (float &L, float &R) |
void | processBlockStep (float &L) |
template<int blockSize> | |
void | processBlock (const float *const inL, const float *const inR, float *outL, float *outR) |
template<int blockSize> | |
void | processBlock (const float *const inL, float *outL) |
void | init () |
Static Public Member Functions | |
static void | step (CytomicSVF &that, float &L, float &R) |
static SIMD_M128 | stepSSE (CytomicSVF &that, SIMD_M128 vin) |
Public Attributes | |
SIMD_M128 | ic1eq {SIMD_MM(setzero_ps)()} |
SIMD_M128 | ic2eq {SIMD_MM(setzero_ps)()} |
SIMD_M128 | g |
SIMD_M128 | k |
SIMD_M128 | gk |
SIMD_M128 | a1 |
SIMD_M128 | a2 |
SIMD_M128 | a3 |
SIMD_M128 | m0 |
SIMD_M128 | m1 |
SIMD_M128 | m2 |
SIMD_M128 | oneSSE {SIMD_MM(set1_ps)(1.0)} |
SIMD_M128 | negoneSSE {SIMD_MM(set1_ps)(-1.0)} |
SIMD_M128 | twoSSE {SIMD_MM(set1_ps)(2.0)} |
SIMD_M128 | negtwoSSE {SIMD_MM(set1_ps)(-2.0)} |
SIMD_M128 | a1_prior |
SIMD_M128 | a2_prior |
SIMD_M128 | a3_prior |
SIMD_M128 | da1 |
SIMD_M128 | da2 |
SIMD_M128 | da3 |
bool | firstBlock {true} |
enum Mode |
void setCoeff | ( | Mode | mode, |
float | freq, | ||
float | res, | ||
float | srInv, | ||
float | bellShelfAmp = 1.f |
||
) |
References CytomicSVF::BELL, CytomicSVF::g, CytomicSVF::k, and CytomicSVF::setCoeffPostGK().
Referenced by CytomicSVF::setCoeffForBlock().
void setCoeff | ( | Mode | mode, |
float | freqL, | ||
float | freqR, | ||
float | resL, | ||
float | resR, | ||
float | srInv, | ||
float | bellShelfAmpL, | ||
float | bellShelfAmpR | ||
) |
References CytomicSVF::BELL, CytomicSVF::g, CytomicSVF::k, CytomicSVF::setCoeffPostGK(), and CytomicSVF::twoSSE.
void setCoeffPostGK | ( | Mode | mode, |
SIMD_M128 | bellShelfSSE | ||
) |
References A, CytomicSVF::a1, CytomicSVF::a2, CytomicSVF::a3, CytomicSVF::ALL, CytomicSVF::BELL, CytomicSVF::BP, CytomicSVF::g, CytomicSVF::gk, CytomicSVF::HIGH_SHELF, CytomicSVF::HP, CytomicSVF::k, CytomicSVF::LOW_SHELF, CytomicSVF::LP, CytomicSVF::m0, CytomicSVF::m1, CytomicSVF::m2, CytomicSVF::negoneSSE, CytomicSVF::negtwoSSE, CytomicSVF::NOTCH, CytomicSVF::oneSSE, and CytomicSVF::PEAK.
Referenced by CytomicSVF::setCoeff().
void fetchCoeffs | ( | const CytomicSVF & | that | ) |
References CytomicSVF::a1, CytomicSVF::a2, CytomicSVF::a3, CytomicSVF::g, CytomicSVF::gk, CytomicSVF::k, CytomicSVF::m0, CytomicSVF::m1, and CytomicSVF::m2.
|
static |
References CytomicSVF::stepSSE().
Referenced by CytomicSVF::processBlockStep().
|
static |
References CytomicSVF::a1, CytomicSVF::a2, CytomicSVF::a3, CytomicSVF::ic1eq, CytomicSVF::ic2eq, CytomicSVF::m0, CytomicSVF::m1, CytomicSVF::m2, and CytomicSVF::twoSSE.
Referenced by CytomicSVF::step().
void setCoeffForBlock | ( | Mode | mode, |
float | freq, | ||
float | res, | ||
float | srInv, | ||
float | bellShelfAmp = 1.f |
||
) |
void setCoeffForBlock | ( | Mode | mode, |
float | freqL, | ||
float | freqR, | ||
float | resL, | ||
float | resR, | ||
float | srInv, | ||
float | bellShelfAmpL, | ||
float | bellShelfAmpR | ||
) |
void retainCoeffForBlock | ( | ) |
References CytomicSVF::da1, CytomicSVF::da2, and CytomicSVF::da3.
void processBlockStep | ( | float & | L, |
float & | R | ||
) |
References CytomicSVF::a1, CytomicSVF::a2, CytomicSVF::a3, CytomicSVF::da1, CytomicSVF::da2, CytomicSVF::da3, and CytomicSVF::step().
Referenced by CytomicSVF::processBlock().
void processBlockStep | ( | float & | L | ) |
References CytomicSVF::a1, CytomicSVF::a2, CytomicSVF::a3, CytomicSVF::da1, CytomicSVF::da2, CytomicSVF::da3, and CytomicSVF::step().
void processBlock | ( | const float *const | inL, |
const float *const | inR, | ||
float * | outL, | ||
float * | outR | ||
) |
References CytomicSVF::processBlockStep().
void processBlock | ( | const float *const | inL, |
float * | outL | ||
) |
References CytomicSVF::processBlockStep().
void init | ( | ) |
References CytomicSVF::ic1eq, and CytomicSVF::ic2eq.
SIMD_M128 ic1eq {SIMD_MM(setzero_ps)()} |
Referenced by CytomicSVF::init(), and CytomicSVF::stepSSE().
SIMD_M128 ic2eq {SIMD_MM(setzero_ps)()} |
Referenced by CytomicSVF::init(), and CytomicSVF::stepSSE().
SIMD_M128 g |
Referenced by CytomicSVF::fetchCoeffs(), CytomicSVF::setCoeff(), and CytomicSVF::setCoeffPostGK().
SIMD_M128 k |
Referenced by CytomicSVF::fetchCoeffs(), CytomicSVF::setCoeff(), and CytomicSVF::setCoeffPostGK().
SIMD_M128 gk |
Referenced by CytomicSVF::fetchCoeffs(), and CytomicSVF::setCoeffPostGK().
SIMD_M128 a1 |
SIMD_M128 a2 |
SIMD_M128 a3 |
SIMD_M128 m0 |
Referenced by CytomicSVF::fetchCoeffs(), CytomicSVF::setCoeffPostGK(), and CytomicSVF::stepSSE().
SIMD_M128 m1 |
Referenced by CytomicSVF::fetchCoeffs(), CytomicSVF::setCoeffPostGK(), and CytomicSVF::stepSSE().
SIMD_M128 m2 |
Referenced by CytomicSVF::fetchCoeffs(), CytomicSVF::setCoeffPostGK(), and CytomicSVF::stepSSE().
SIMD_M128 oneSSE {SIMD_MM(set1_ps)(1.0)} |
Referenced by CytomicSVF::setCoeffPostGK().
SIMD_M128 negoneSSE {SIMD_MM(set1_ps)(-1.0)} |
Referenced by CytomicSVF::setCoeffPostGK().
SIMD_M128 twoSSE {SIMD_MM(set1_ps)(2.0)} |
Referenced by CytomicSVF::setCoeff(), and CytomicSVF::stepSSE().
SIMD_M128 negtwoSSE {SIMD_MM(set1_ps)(-2.0)} |
Referenced by CytomicSVF::setCoeffPostGK().
SIMD_M128 a1_prior |
Referenced by CytomicSVF::setCoeffForBlock().
SIMD_M128 a2_prior |
Referenced by CytomicSVF::setCoeffForBlock().
SIMD_M128 a3_prior |
Referenced by CytomicSVF::setCoeffForBlock().
SIMD_M128 da1 |
SIMD_M128 da2 |
SIMD_M128 da3 |
bool firstBlock {true} |
Referenced by CytomicSVF::setCoeffForBlock().