|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
Capacitor, bilinear discretization: b[n] = a[n-1], Rp = 1/(2 fs C). More...
#include <WDF.h>
Public Member Functions | |
| Capacitor (T farads) noexcept | |
| void | setCapacitance (T farads) noexcept |
| T | getCapacitance () const noexcept |
| Current capacitance in farads. | |
| void | prepare (double sampleRate) noexcept |
| void | updatePorts () noexcept |
| void | reset () noexcept |
| void | offsetVoltage (T offset) noexcept |
| Shifts the voltage reference without changing capacitor current. Stream-owner only; the finite offset is added to both wave variables and the delayed wave, preserving their difference. | |
| double | portResistance () const noexcept |
| T | reflected () noexcept |
| void | incident (T a) noexcept |
| T | getVoltage () const noexcept |
| T | getCurrent () const noexcept |
Capacitor, bilinear discretization: b[n] = a[n-1], Rp = 1/(2 fs C).
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |