DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::wdf::ToneStackFMV< T >::AnalogStateSpace Struct Reference

Continuous-time state space of the same network. More...

#include <WDF.h>

Public Attributes

double a [3][3]
 
double b [3]
 
double c [3]
 
double d
 
double capacitance [3]
 

Detailed Description

template<FloatType T>
struct dspark::wdf::ToneStackFMV< T >::AnalogStateSpace

Continuous-time state space of the same network.

States are the capacitor voltages (C1: input to treble pot, C2: slope node to bass rheostat, C3: slope node to middle wiper), the input is the source voltage and the output is the wiper voltage: dx/dt = a x + b u, y = c x + d u. The matrices are obtained by nodal analysis of the identical element values and topology used by the R-type adaptor, with each capacitor replaced by a voltage source. a = -diag(capacitance)^-1 G for a symmetric positive definite G. Allocation free; cost of a 10x10 elimination.

Definition at line 954 of file WDF.h.

Member Data Documentation

◆ a

template<FloatType T>
double dspark::wdf::ToneStackFMV< T >::AnalogStateSpace::a[3][3]

Definition at line 956 of file WDF.h.

◆ b

template<FloatType T>
double dspark::wdf::ToneStackFMV< T >::AnalogStateSpace::b[3]

Definition at line 957 of file WDF.h.

◆ c

template<FloatType T>
double dspark::wdf::ToneStackFMV< T >::AnalogStateSpace::c[3]

Definition at line 958 of file WDF.h.

◆ capacitance

template<FloatType T>
double dspark::wdf::ToneStackFMV< T >::AnalogStateSpace::capacitance[3]

Definition at line 960 of file WDF.h.

◆ d

template<FloatType T>
double dspark::wdf::ToneStackFMV< T >::AnalogStateSpace::d

Definition at line 959 of file WDF.h.


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