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

State of ladderStepInput(), in double whatever the sample type is. More...

#include <LadderZdf.h>

Public Attributes

double q [4] = {}
 Integrator states.
 
double ahead = 0.0
 cAhead . q: k d times the feedback sum q reaches a sub-step on with no input.
 
double loopStates = 0.0
 That term as the last sub-step formed it, from the states it started from,.
 
double loopDrive = 0.0
 and kappa times its saturator output: together, k d times the feedback sum of q.
 
double input = 0.0
 Previous input after its level correction.
 
double output = 0.0
 Previous output.
 

Detailed Description

State of ladderStepInput(), in double whatever the sample type is.

The integrators run at the sub-step rate, where a stage moves by a small fraction of its input per step, so they are kept at the precision of the arithmetic; a block and the same samples one by one then give the same output.

Definition at line 432 of file LadderZdf.h.

Member Data Documentation

◆ ahead

double dspark::detail::LadderInputState::ahead = 0.0

cAhead . q: k d times the feedback sum q reaches a sub-step on with no input.

Definition at line 435 of file LadderZdf.h.

◆ input

double dspark::detail::LadderInputState::input = 0.0

Previous input after its level correction.

Definition at line 438 of file LadderZdf.h.

◆ loopDrive

double dspark::detail::LadderInputState::loopDrive = 0.0

and kappa times its saturator output: together, k d times the feedback sum of q.

Definition at line 437 of file LadderZdf.h.

◆ loopStates

double dspark::detail::LadderInputState::loopStates = 0.0

That term as the last sub-step formed it, from the states it started from,.

Definition at line 436 of file LadderZdf.h.

◆ output

double dspark::detail::LadderInputState::output = 0.0

Previous output.

Definition at line 439 of file LadderZdf.h.

◆ q

double dspark::detail::LadderInputState::q[4] = {}

Integrator states.

Definition at line 434 of file LadderZdf.h.


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