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

One channel's registers while ladderStepInput() runs a sample. More...

#include <LadderZdf.h>

Public Member Functions

template<FloatType T>
DSPARK_LADDER_INLINE void begin (T input, const LadderInputState &h, const LadderInputCoeffs &c) noexcept
 Loads the state and the first sub-step's loop drive.
 
template<LadderTap Tap>
DSPARK_LADDER_INLINE void substep (const LadderInputCoeffs &c) noexcept
 One sub-step: the loop input, the stages and the taps.
 
template<FloatType T>
DSPARK_LADDER_INLINE T finish (LadderInputState &h, const LadderInputCoeffs &c) const noexcept
 Stores the state and returns the level-corrected mean of the sub-steps.
 

Public Attributes

double q0 = 0.0
 
double q1 = 0.0
 
double q2 = 0.0
 
double q3 = 0.0
 
double ahead = 0.0
 
double kl = 0.0
 
double kw = 0.0
 
double R = 0.0
 
double x = 0.0
 
double xs = 0.0
 
double dx = 0.0
 
double acc = 0.0
 

Detailed Description

One channel's registers while ladderStepInput() runs a sample.

Definition at line 511 of file LadderZdf.h.

Member Function Documentation

◆ begin()

template<FloatType T>
DSPARK_LADDER_INLINE void dspark::detail::LadderInputLane::begin ( T  input,
const LadderInputState &  h,
const LadderInputCoeffs &  c 
)
inlinenoexcept

Loads the state and the first sub-step's loop drive.

Definition at line 519 of file LadderZdf.h.

◆ finish()

template<FloatType T>
DSPARK_LADDER_INLINE T dspark::detail::LadderInputLane::finish ( LadderInputState &  h,
const LadderInputCoeffs &  c 
) const
inlinenoexcept

Stores the state and returns the level-corrected mean of the sub-steps.

Definition at line 596 of file LadderZdf.h.

◆ substep()

template<LadderTap Tap>
DSPARK_LADDER_INLINE void dspark::detail::LadderInputLane::substep ( const LadderInputCoeffs &  c)
inlinenoexcept

One sub-step: the loop input, the stages and the taps.

Definition at line 539 of file LadderZdf.h.

Member Data Documentation

◆ acc

double dspark::detail::LadderInputLane::acc = 0.0

Definition at line 515 of file LadderZdf.h.

◆ ahead

double dspark::detail::LadderInputLane::ahead = 0.0

Definition at line 514 of file LadderZdf.h.

◆ dx

double dspark::detail::LadderInputLane::dx = 0.0

Definition at line 515 of file LadderZdf.h.

◆ kl

double dspark::detail::LadderInputLane::kl = 0.0

Definition at line 514 of file LadderZdf.h.

◆ kw

double dspark::detail::LadderInputLane::kw = 0.0

Definition at line 514 of file LadderZdf.h.

◆ q0

double dspark::detail::LadderInputLane::q0 = 0.0

Definition at line 513 of file LadderZdf.h.

◆ q1

double dspark::detail::LadderInputLane::q1 = 0.0

Definition at line 513 of file LadderZdf.h.

◆ q2

double dspark::detail::LadderInputLane::q2 = 0.0

Definition at line 513 of file LadderZdf.h.

◆ q3

double dspark::detail::LadderInputLane::q3 = 0.0

Definition at line 513 of file LadderZdf.h.

◆ R

double dspark::detail::LadderInputLane::R = 0.0

Definition at line 514 of file LadderZdf.h.

◆ x

double dspark::detail::LadderInputLane::x = 0.0

Definition at line 515 of file LadderZdf.h.

◆ xs

double dspark::detail::LadderInputLane::xs = 0.0

Definition at line 515 of file LadderZdf.h.


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