sst-filters
Filters submodule for the Surge Synthesizer
Loading...
Searching...
No Matches
FastTiltNoiseFilter< hostClass > Struct Template Reference

#include <FastTiltNoiseFilter.h>

Public Member Functions

 FastTiltNoiseFilter (hostClass &hc)
void init (float *startupNoise, float initialGain)
void setCoeff (float gain)
template<int blockSize>
void setCoeffForBlock (float gain)
void processBlockStep (float &input)
template<int blockSize>
void processBlock (const float *const input, float *output)

Static Public Member Functions

static void step (FastTiltNoiseFilter &that, float &vin)

Public Attributes

hostClass & host
SIMD_M128 firstQueue {SIMD_MM(setzero_ps)()}
SIMD_M128 secondQueue {SIMD_MM(setzero_ps)()}
SIMD_M128 thirdQueue {SIMD_MM(setzero_ps)()}
const SIMD_M128 kSSE = SIMD_MM(set1_ps)(1.86)
SIMD_M128 firstG
SIMD_M128 secondG
SIMD_M128 thirdG
SIMD_M128 firstGK
SIMD_M128 secondGK
SIMD_M128 thirdGK
SIMD_M128 firstA1
SIMD_M128 secondA1
SIMD_M128 thirdA1
SIMD_M128 firstA2
SIMD_M128 secondA2
SIMD_M128 thirdA2
SIMD_M128 firstA3
SIMD_M128 secondA3
SIMD_M128 thirdA3
const SIMD_M128 mask = SIMD_MM(castsi128_ps)(SIMD_MM(set_epi32)(0, 0, ~0, ~0))
SIMD_M128 firstM0
SIMD_M128 secondM0
SIMD_M128 thirdM0
SIMD_M128 firstM1
SIMD_M128 secondM1
SIMD_M128 thirdM1
SIMD_M128 firstM2
SIMD_M128 secondM2
SIMD_M128 thirdM2
SIMD_M128 first1eq {SIMD_MM(setzero_ps)()}
SIMD_M128 second1eq {SIMD_MM(setzero_ps)()}
SIMD_M128 third1eq {SIMD_MM(setzero_ps)()}
SIMD_M128 first2eq {SIMD_MM(setzero_ps)()}
SIMD_M128 second2eq {SIMD_MM(setzero_ps)()}
SIMD_M128 third2eq {SIMD_MM(setzero_ps)()}
SIMD_M128 oneSSE {SETALL(1.0)}
SIMD_M128 negoneSSE {SETALL(-1.0)}
SIMD_M128 twoSSE {SETALL(2.0)}
SIMD_M128 negtwoSSE {SETALL(-2.0)}
SIMD_M128 firstM0_prior
SIMD_M128 secondM0_prior
SIMD_M128 thirdM0_prior
SIMD_M128 firstM1_prior
SIMD_M128 secondM1_prior
SIMD_M128 thirdM1_prior
SIMD_M128 firstM2_prior
SIMD_M128 secondM2_prior
SIMD_M128 thirdM2_prior
SIMD_M128 firstD0
SIMD_M128 secondD0
SIMD_M128 thirdD0
SIMD_M128 firstD1
SIMD_M128 secondD1
SIMD_M128 thirdD1
SIMD_M128 firstD2
SIMD_M128 secondD2
SIMD_M128 thirdD2
bool firstBlock {true}

Constructor & Destructor Documentation

◆ FastTiltNoiseFilter()

template<typename hostClass>
FastTiltNoiseFilter ( hostClass & hc)

References host.

Referenced by step().

Member Function Documentation

◆ init()

template<typename hostClass>
void init ( float * startupNoise,
float initialGain )

◆ setCoeff()

template<typename hostClass>
void setCoeff ( float gain)

◆ step()

◆ setCoeffForBlock()

◆ processBlockStep()

template<typename hostClass>
void processBlockStep ( float & input)

◆ processBlock()

template<typename hostClass>
template<int blockSize>
void processBlock ( const float *const input,
float * output )

References processBlockStep().

Member Data Documentation

◆ host

template<typename hostClass>
hostClass& host

Referenced by FastTiltNoiseFilter(), init(), and setCoeff().

◆ firstQueue

template<typename hostClass>
SIMD_M128 firstQueue {SIMD_MM(setzero_ps)()}

Referenced by step().

◆ secondQueue

template<typename hostClass>
SIMD_M128 secondQueue {SIMD_MM(setzero_ps)()}

Referenced by step().

◆ thirdQueue

template<typename hostClass>
SIMD_M128 thirdQueue {SIMD_MM(setzero_ps)()}

Referenced by step().

◆ kSSE

template<typename hostClass>
const SIMD_M128 kSSE = SIMD_MM(set1_ps)(1.86)

Referenced by init(), and setCoeff().

◆ firstG

template<typename hostClass>
SIMD_M128 firstG

Referenced by init().

◆ secondG

template<typename hostClass>
SIMD_M128 secondG

Referenced by init().

◆ thirdG

template<typename hostClass>
SIMD_M128 thirdG

Referenced by init().

◆ firstGK

template<typename hostClass>
SIMD_M128 firstGK

Referenced by init().

◆ secondGK

template<typename hostClass>
SIMD_M128 secondGK

Referenced by init().

◆ thirdGK

template<typename hostClass>
SIMD_M128 thirdGK

Referenced by init().

◆ firstA1

template<typename hostClass>
SIMD_M128 firstA1

Referenced by init(), and step().

◆ secondA1

template<typename hostClass>
SIMD_M128 secondA1

Referenced by init(), and step().

◆ thirdA1

template<typename hostClass>
SIMD_M128 thirdA1

Referenced by init(), and step().

◆ firstA2

template<typename hostClass>
SIMD_M128 firstA2

Referenced by init(), and step().

◆ secondA2

template<typename hostClass>
SIMD_M128 secondA2

Referenced by init(), and step().

◆ thirdA2

template<typename hostClass>
SIMD_M128 thirdA2

Referenced by init(), and step().

◆ firstA3

template<typename hostClass>
SIMD_M128 firstA3

Referenced by init(), and step().

◆ secondA3

template<typename hostClass>
SIMD_M128 secondA3

Referenced by init(), and step().

◆ thirdA3

template<typename hostClass>
SIMD_M128 thirdA3

Referenced by init(), and step().

◆ mask

template<typename hostClass>
const SIMD_M128 mask = SIMD_MM(castsi128_ps)(SIMD_MM(set_epi32)(0, 0, ~0, ~0))

Referenced by setCoeff().

◆ firstM0

template<typename hostClass>
SIMD_M128 firstM0

◆ secondM0

template<typename hostClass>
SIMD_M128 secondM0

◆ thirdM0

template<typename hostClass>
SIMD_M128 thirdM0

◆ firstM1

template<typename hostClass>
SIMD_M128 firstM1

◆ secondM1

template<typename hostClass>
SIMD_M128 secondM1

◆ thirdM1

template<typename hostClass>
SIMD_M128 thirdM1

◆ firstM2

template<typename hostClass>
SIMD_M128 firstM2

◆ secondM2

template<typename hostClass>
SIMD_M128 secondM2

◆ thirdM2

template<typename hostClass>
SIMD_M128 thirdM2

◆ first1eq

template<typename hostClass>
SIMD_M128 first1eq {SIMD_MM(setzero_ps)()}

Referenced by step().

◆ second1eq

template<typename hostClass>
SIMD_M128 second1eq {SIMD_MM(setzero_ps)()}

Referenced by step().

◆ third1eq

template<typename hostClass>
SIMD_M128 third1eq {SIMD_MM(setzero_ps)()}

Referenced by step().

◆ first2eq

template<typename hostClass>
SIMD_M128 first2eq {SIMD_MM(setzero_ps)()}

Referenced by step().

◆ second2eq

template<typename hostClass>
SIMD_M128 second2eq {SIMD_MM(setzero_ps)()}

Referenced by step().

◆ third2eq

template<typename hostClass>
SIMD_M128 third2eq {SIMD_MM(setzero_ps)()}

Referenced by step().

◆ oneSSE

template<typename hostClass>
SIMD_M128 oneSSE {SETALL(1.0)}

Referenced by init(), and setCoeff().

◆ negoneSSE

template<typename hostClass>
SIMD_M128 negoneSSE {SETALL(-1.0)}

◆ twoSSE

template<typename hostClass>
SIMD_M128 twoSSE {SETALL(2.0)}

Referenced by step().

◆ negtwoSSE

template<typename hostClass>
SIMD_M128 negtwoSSE {SETALL(-2.0)}

◆ firstM0_prior

template<typename hostClass>
SIMD_M128 firstM0_prior

Referenced by setCoeffForBlock().

◆ secondM0_prior

template<typename hostClass>
SIMD_M128 secondM0_prior

Referenced by setCoeffForBlock().

◆ thirdM0_prior

template<typename hostClass>
SIMD_M128 thirdM0_prior

Referenced by setCoeffForBlock().

◆ firstM1_prior

template<typename hostClass>
SIMD_M128 firstM1_prior

Referenced by setCoeffForBlock().

◆ secondM1_prior

template<typename hostClass>
SIMD_M128 secondM1_prior

Referenced by setCoeffForBlock().

◆ thirdM1_prior

template<typename hostClass>
SIMD_M128 thirdM1_prior

Referenced by setCoeffForBlock().

◆ firstM2_prior

template<typename hostClass>
SIMD_M128 firstM2_prior

Referenced by setCoeffForBlock().

◆ secondM2_prior

template<typename hostClass>
SIMD_M128 secondM2_prior

Referenced by setCoeffForBlock().

◆ thirdM2_prior

template<typename hostClass>
SIMD_M128 thirdM2_prior

Referenced by setCoeffForBlock().

◆ firstD0

template<typename hostClass>
SIMD_M128 firstD0

◆ secondD0

template<typename hostClass>
SIMD_M128 secondD0

◆ thirdD0

template<typename hostClass>
SIMD_M128 thirdD0

◆ firstD1

template<typename hostClass>
SIMD_M128 firstD1

◆ secondD1

template<typename hostClass>
SIMD_M128 secondD1

◆ thirdD1

template<typename hostClass>
SIMD_M128 thirdD1

◆ firstD2

template<typename hostClass>
SIMD_M128 firstD2

◆ secondD2

template<typename hostClass>
SIMD_M128 secondD2

◆ thirdD2

template<typename hostClass>
SIMD_M128 thirdD2

◆ firstBlock

template<typename hostClass>
bool firstBlock {true}

Referenced by setCoeffForBlock().


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