DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::detail::LadderInputCoeffs Struct Reference

Coefficients of ladderStepInput(), derived by makeLadderInputCoeffs(). More...

#include <LadderZdf.h>

Public Attributes

double G = 0.0
 
double H = 1.0
 One stage per sub-step: y = G in + H s, then s = 2 y - s.
 
double d = 1.0
 
double invD = 1.0
 Level scale of the saturator and its reciprocal.
 
double kd = 0.0
 k d.
 
double c = 0.0
 Loop gain past the saturator, k G^4.
 
double onePlusC = 1.0
 
double kappa = 0.0
 k times what one unit of saturator output adds to the next feedback sum.
 
double cS [4] = {}
 Feedback sum of the states: the last stage's output with no input.
 
double cAhead [4] = {}
 k d times that sum one sub-step on, from the states now.
 
double pre = 0.0
 
double post = 0.0
 Level corrections of the two rate changes.
 

Detailed Description

Coefficients of ladderStepInput(), derived by makeLadderInputCoeffs().

Definition at line 411 of file LadderZdf.h.

Member Data Documentation

◆ c

double dspark::detail::LadderInputCoeffs::c = 0.0

Loop gain past the saturator, k G^4.

Definition at line 416 of file LadderZdf.h.

◆ cAhead

double dspark::detail::LadderInputCoeffs::cAhead[4] = {}

k d times that sum one sub-step on, from the states now.

Definition at line 420 of file LadderZdf.h.

◆ cS

double dspark::detail::LadderInputCoeffs::cS[4] = {}

Feedback sum of the states: the last stage's output with no input.

Definition at line 419 of file LadderZdf.h.

◆ d

double dspark::detail::LadderInputCoeffs::d = 1.0

Definition at line 414 of file LadderZdf.h.

◆ G

double dspark::detail::LadderInputCoeffs::G = 0.0

Definition at line 413 of file LadderZdf.h.

◆ H

double dspark::detail::LadderInputCoeffs::H = 1.0

One stage per sub-step: y = G in + H s, then s = 2 y - s.

Definition at line 413 of file LadderZdf.h.

◆ invD

double dspark::detail::LadderInputCoeffs::invD = 1.0

Level scale of the saturator and its reciprocal.

Definition at line 414 of file LadderZdf.h.

◆ kappa

double dspark::detail::LadderInputCoeffs::kappa = 0.0

k times what one unit of saturator output adds to the next feedback sum.

Definition at line 418 of file LadderZdf.h.

◆ kd

double dspark::detail::LadderInputCoeffs::kd = 0.0

k d.

Definition at line 415 of file LadderZdf.h.

◆ onePlusC

double dspark::detail::LadderInputCoeffs::onePlusC = 1.0

Definition at line 417 of file LadderZdf.h.

◆ post

double dspark::detail::LadderInputCoeffs::post = 0.0

Level corrections of the two rate changes.

Definition at line 421 of file LadderZdf.h.

◆ pre

double dspark::detail::LadderInputCoeffs::pre = 0.0

Definition at line 421 of file LadderZdf.h.


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