sst-filters
Filters submodule for the Surge Synthesizer
Loading...
Searching...
No Matches
Namespaces | Macros | Enumerations | Functions
VintageLadders.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::VintageLadder
 This contains various adaptations of the models found at.
 
namespace  sst::filters::VintageLadder::Common
 
namespace  sst::filters::VintageLadder::RK
 
namespace  sst::filters::VintageLadder::Huov
 

Macros

#define F(a)   SIMD_MM(set_ps1)(a)
 
#define M(a, b)   SIMD_MM(mul_ps)(a, b)
 
#define A(a, b)   SIMD_MM(add_ps)(a, b)
 
#define S(a, b)   SIMD_MM(sub_ps)(a, b)
 
#define F(a)   SIMD_MM(set_ps1)(a)
 
#define M(a, b)   SIMD_MM(mul_ps)(a, b)
 
#define A(a, b)   SIMD_MM(add_ps)(a, b)
 
#define S(a, b)   SIMD_MM(sub_ps)(a, b)
 

Enumerations

enum  rkm_coeffs { rkm_cutoff = 0 , rkm_reso , rkm_gComp , n_rkcoeff }
 
enum  huov_coeffs {
  h_cutoff = 0 , h_res , h_fc , h_gComp ,
  n_hcoeffs
}
 
enum  huov_regoffsets { h_stage = 0 , h_stageTanh = 4 , h_delay = 7 }
 

Functions

template<typename TuningProvider >
float clampedFrequency (float pitch, float sampleRate, TuningProvider *provider)
 
template<typename TuningProvider >
void makeCoefficients (FilterCoefficientMaker< TuningProvider > *cm, float freq, float reso, float sampleRate, bool applyGainCompensation, TuningProvider *provider)
 
SIMD_M128 clip (SIMD_M128 value, SIMD_M128 _saturation, SIMD_M128 _saturationinverse)
 
void calculateDerivatives (SIMD_M128 input, SIMD_M128 *dstate, SIMD_M128 *state, SIMD_M128 cutoff, SIMD_M128 resonance, SIMD_M128 _saturation, SIMD_M128 _saturationInv, SIMD_M128 gComp)
 
SIMD_M128 process (QuadFilterUnitState *__restrict f, SIMD_M128 input)
 
template<typename TuningProvider >
void makeCoefficients (FilterCoefficientMaker< TuningProvider > *cm, float freq, float reso, float sampleRate, float sampleRateInv, bool applyGainCompensation, TuningProvider *provider)
 
SIMD_M128 process (QuadFilterUnitState *__restrict f, SIMD_M128 in)
 

Macro Definition Documentation

◆ F [1/2]

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

◆ M [1/2]

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

◆ A [1/2]

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

◆ S [1/2]

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

◆ F [2/2]

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

◆ M [2/2]

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

◆ A [2/2]

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

◆ S [2/2]

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