|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
Single Shockley diode root: i(v) = Is (e^{v/(n Vt)} - 1). More...
#include <WDF.h>
Public Member Functions | |
| DiodeRoot (Tree &tree, T saturationCurrent=T(2.52e-9), T idealityTimesVt=T(1.752 *0.02585)) noexcept | |
| void | setSaturationCurrent (T amps) noexcept |
| void | setIdealityTimesVt (T volts) noexcept |
| void | prepare (double sampleRate) noexcept |
| void | reset () noexcept |
| void | process () noexcept |
| T | getVoltage () const noexcept |
| Voltage across the diode. | |
Single Shockley diode root: i(v) = Is (e^{v/(n Vt)} - 1).
Conducts for positive v, blocks (down to -Is) for negative v.
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |