expDecayFactor

Gets a factor for making exponential decay curves.

pure nothrow @nogc
double
expDecayFactor

Parameters

timeConstantInSeconds double

Time after which the amplitude is only 37% of the original.

samplerate double

Sampling rate.

Return Value

Type: double

Multiplier for this time constant and sampling rate.

Meta