sst-filters
Filters submodule for the Surge Synthesizer
Loading...
Searching...
No Matches
DiodeLadder.h File Reference

Namespaces

namespace  sst
 Parent namespace for all Surge Synth Team code.
namespace  sst::filters
 DSP code for Surge filters.
namespace  sst::filters::DiodeLadderFilter
 This namespace contains an adaptation of the filter from https://github.com/TheWaveWarden/odin2/blob/master/Source/audio/Filters/DiodeFilter.cpp.

Macros

#define F(a)
#define M(a, b)
#define D(a, b)
#define A(a, b)
#define S(a, b)
#define reci(a)

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)

Macro Definition Documentation

◆ F

#define F ( a)
Value:
SIMD_MM(set_ps1)(a)

◆ M

#define M ( a,
b )
Value:
SIMD_MM(mul_ps)(a, b)

◆ D

◆ A

#define A ( a,
b )
Value:
SIMD_MM(add_ps)(a, b)

◆ S

#define S ( a,
b )
Value:
SIMD_MM(sub_ps)(a, b)

◆ reci

#define reci ( a)
Value:
SIMD_MM(rcp_ps)(a)

Referenced by sst::filters::DiodeLadderFilter::process().