chowdsp_wdf  1.0.0
Wave Digital Filters library for chowdsp
Classes | Enumerations | Functions
chowdsp::wdft Namespace Reference

API for constructing Wave Digital Filters with a fixed compile-time architecture. More...

Classes

class  RootRtypeAdaptor
 A non-adaptable R-Type adaptor. More...
 
class  RtypeAdaptor
 An adaptable R-Type adaptor. More...
 
class  ScopedDeferImpedancePropagation
 Let's say that you've got some fancy adaptor in your WDF (e.g. More...
 
class  WDFParallelT
 WDF 3-port parallel adaptor. More...
 
class  WDFSeriesT
 WDF 3-port series adaptor. More...
 
class  PolarityInverterT
 WDF Voltage Polarity Inverter. More...
 
class  YParameterT
 WDF y-parameter 2-port (short circuit admittance) More...
 
class  BaseWDF
 Base WDF class for propagating impedance changes between elements. More...
 
class  RootWDF
 Base class for propagating impedance changes into root WDF elements. More...
 
struct  WDFMembers
 Helper struct for common WDF member variables. More...
 
class  DiodePairT
 WDF diode pair (non-adaptable) See Werner et al., "An Improved and Generalized Diode Clipper Model for Wave Digital Filters" https://www.researchgate.net/publication/299514713_An_Improved_and_Generalized_Diode_Clipper_Model_for_Wave_Digital_Filters. More...
 
class  DiodeT
 WDF diode (non-adaptable) See Werner et al., "An Improved and Generalized Diode Clipper Model for Wave Digital Filters" https://www.researchgate.net/publication/299514713_An_Improved_and_Generalized_Diode_Clipper_Model_for_Wave_Digital_Filters. More...
 
class  SwitchT
 WDF Switch (non-adaptable) More...
 
class  ResistorT
 WDF Resistor Node. More...
 
class  CapacitorT
 WDF Capacitor Node. More...
 
class  CapacitorAlphaT
 WDF Capacitor Node with alpha transform parameter. More...
 
class  InductorT
 WDF Inductor Node. More...
 
class  InductorAlphaT
 WDF Inductor Node with alpha transform parameter. More...
 
class  ResistorCapacitorSeriesT
 WDF Resistor and Capacitor in Series. More...
 
class  ResistorCapacitorParallelT
 WDF Resistor and Capacitor in parallel. More...
 
class  IdealVoltageSourceT
 WDF Ideal Voltage source (non-adaptable) More...
 
class  ResistiveVoltageSourceT
 WDF Voltage source with series resistance. More...
 
class  CapacitiveVoltageSourceT
 WDF Voltage source with series capacitance. More...
 
class  IdealCurrentSourceT
 WDF Current source (non-adaptable) More...
 
class  ResistiveCurrentSourceT
 WDF Current source with parallel resistance. More...
 
class  ResistiveCapacitiveVoltageSourceT
 WDF Resistor and Capacitor and Voltage source in Series. More...
 

Enumerations

enum  DiodeQuality { Good , Best , Good , Best }
 Enum to determine which diode approximation eqn. More...
 
enum  DiodeQuality { Good , Best , Good , Best }
 Enum to determine which diode approximation eqn. More...
 

Functions

template<typename T , typename P1Type , typename P2Type >
CHOWDSP_WDF_MAYBE_UNUSED WDFParallelT< T, P1Type, P2Type > makeParallel (P1Type &p1, P2Type &p2)
 Factory method for creating a parallel adaptor between two elements. More...
 
template<typename T , typename P1Type , typename P2Type >
CHOWDSP_WDF_MAYBE_UNUSED WDFSeriesT< T, P1Type, P2Type > makeSeries (P1Type &p1, P2Type &p2)
 Factory method for creating a series adaptor between two elements. More...
 
template<typename T , typename PType >
CHOWDSP_WDF_MAYBE_UNUSED PolarityInverterT< T, PType > makeInverter (PType &p1)
 Factory method for creating a polarity inverter. More...
 
template<typename T , typename WDFType >
voltage (const WDFType &wdf) noexcept
 Probe the voltage across this circuit element. More...
 
template<typename T , typename WDFType >
current (const WDFType &wdf) noexcept
 Probe the current through this circuit element. More...
 

Detailed Description

API for constructing Wave Digital Filters with a fixed compile-time architecture.

Enumeration Type Documentation

◆ DiodeQuality [1/2]

Enum to determine which diode approximation eqn.

to use

Enumerator
Good 
Best 
Good 
Best 

◆ DiodeQuality [2/2]

Enum to determine which diode approximation eqn.

to use

Enumerator
Good 
Best 
Good 
Best 

Function Documentation

◆ makeParallel()

CHOWDSP_WDF_MAYBE_UNUSED WDFParallelT< T, P1Type, P2Type > makeParallel ( P1Type &  p1,
P2Type &  p2 
)

Factory method for creating a parallel adaptor between two elements.

◆ makeSeries()

CHOWDSP_WDF_MAYBE_UNUSED WDFSeriesT< T, P1Type, P2Type > makeSeries ( P1Type &  p1,
P2Type &  p2 
)

Factory method for creating a series adaptor between two elements.

◆ makeInverter()

CHOWDSP_WDF_MAYBE_UNUSED PolarityInverterT< T, PType > makeInverter ( PType &  p1)

Factory method for creating a polarity inverter.

◆ voltage()

T voltage ( const WDFType &  wdf)
noexcept

Probe the voltage across this circuit element.

◆ current()

T current ( const WDFType &  wdf)
noexcept

Probe the current through this circuit element.