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

This namespace contains an adaptation of the filter found at https://ccrma.stanford.edu/~jatin/ComplexNonlinearities/NLFeedback.html with coefficient calculation from https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html. More...

Enumerations

enum  Saturator { SAT_TANH = 0 , SAT_SOFT , SAT_OJD , SAT_SINE }
 
enum  nlf_coeffs {
  nlf_a1 = 0 , nlf_a2 , nlf_b0 , nlf_b1 ,
  nlf_b2 , nlf_makeup , n_nlf_coeff
}
 
enum  dlf_state {
  nlf_z1 , nlf_z2 , nlf_z3 , nlf_z4 ,
  nlf_z5 , nlf_z6 , nlf_z7 , nlf_z8
}
 

Functions

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

Detailed Description

This namespace contains an adaptation of the filter found at https://ccrma.stanford.edu/~jatin/ComplexNonlinearities/NLFeedback.html with coefficient calculation from https://webaudio.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html.

Enumeration Type Documentation

◆ Saturator

enum Saturator
Enumerator
SAT_TANH 
SAT_SOFT 
SAT_OJD 
SAT_SINE 

◆ nlf_coeffs

enum nlf_coeffs
Enumerator
nlf_a1 
nlf_a2 
nlf_b0 
nlf_b1 
nlf_b2 
nlf_makeup 
n_nlf_coeff 

◆ dlf_state

enum dlf_state
Enumerator
nlf_z1 
nlf_z2 
nlf_z3 
nlf_z4 
nlf_z5 
nlf_z6 
nlf_z7 
nlf_z8 

Function Documentation

◆ makeCoefficients()

void sst::filters::CutoffWarp::makeCoefficients ( FilterCoefficientMaker< TuningProvider > *  cm,
float  freq,
float  reso,
int  type,
int  subtype,
float  sampleRate,
TuningProvider *  provider 
)

◆ process()

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