|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
Antiparallel diode pair root (the classic clipper nonlinearity). More...
#include <WDF.h>
Public Member Functions | |
| DiodePairRoot (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 pair (the clipper output). | |
Antiparallel diode pair root (the classic clipper nonlinearity).
Shockley model: i(v) = 2 Is sinh(v / (n Vt)). Defaults approximate a 1N4148 (Is = 2.52 nA, n = 1.752, Vt = 25.85 mV).
|
inlineexplicitnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |