|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
noexcept |
Level at a time of a leaky response to a rectangular pulse.
| t | Time |
| onset | Time the pulse begins |
| duration | Length of the pulse, held to the period when one is given |
| rise | Time constant while the pulse is on; zero or less jumps to one |
| fall | Time constant after the pulse ends; zero or less falls to zero at once |
| period | Repeat interval; zero or less means a single pulse |
During the pulse the level climbs toward one as 1 - exp(-s / rise), with s the time since the pulse began. After it ends the level decays from where it stood as exp(-s / fall). Before the onset it is zero. With a period, the pattern repeats from rest every period, so a tail still decaying when the next pulse begins is cut off there.
Definition at line 7 of file Dynamics.cpp.
Referenced by pulse_response().
Here is the caller graph for this function: