|
DSPark 1.8.0
Header-only C++20 DSP for real-time and offline audio
|
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 |