sst-filters
Filters submodule for the Surge Synthesizer
Enumerations | Functions
sst::filters::DiodeLadderFilter Namespace Reference

This namespace contains an adaptation of the filter from https://github.com/TheWaveWarden/odin2/blob/master/Source/audio/Filters/DiodeFilter.cpp. More...

Enumerations

enum  dlf_coeffs {
  dlf_alpha = 0 , dlf_gamma , dlf_g , dlf_G4 ,
  dlf_G3 , dlf_G2 , dlf_G1 , dlf_km
}
 
enum  dlf_state {
  dlf_z1 , dlf_z2 , dlf_z3 , dlf_z4 ,
  dlf_feedback3 , dlf_feedback2 , dlf_feedback1
}
 

Functions

template<typename TuningProvider >
void makeCoefficients (FilterCoefficientMaker< TuningProvider > *cm, float freq, float reso, float sampleRate, float sampleRateInv, TuningProvider *provider)
 
template<FilterSubType subtype>
SIMD_M128 process (QuadFilterUnitState *__restrict f, SIMD_M128 input)
 

Detailed Description

This namespace contains an adaptation of the filter from https://github.com/TheWaveWarden/odin2/blob/master/Source/audio/Filters/DiodeFilter.cpp.

Enumeration Type Documentation

◆ dlf_coeffs

enum dlf_coeffs
Enumerator
dlf_alpha 
dlf_gamma 
dlf_g 
dlf_G4 
dlf_G3 
dlf_G2 
dlf_G1 
dlf_km 

◆ dlf_state

enum dlf_state
Enumerator
dlf_z1 
dlf_z2 
dlf_z3 
dlf_z4 
dlf_feedback3 
dlf_feedback2 
dlf_feedback1 

Function Documentation

◆ makeCoefficients()

void sst::filters::DiodeLadderFilter::makeCoefficients ( FilterCoefficientMaker< TuningProvider > *  cm,
float  freq,
float  reso,
float  sampleRate,
float  sampleRateInv,
TuningProvider *  provider 
)

◆ process()

SIMD_M128 sst::filters::DiodeLadderFilter::process ( QuadFilterUnitState *__restrict  f,
SIMD_M128  input 
)