Skip to content

math.MathUtils.Function.hyperbolicDecline

Christian d'Heureuse edited this page Jun 6, 2026 · 2 revisions

dsp-collection / math/MathUtils / hyperbolicDecline

Function: hyperbolicDecline()

function hyperbolicDecline(
   t, 
   a, 
   b): number;

Calculates a hyperbolic decline factor.

Harmonic and exponential decline are special cases of the hyperbolic decline. Linear decline is also a special case, but requires clipping to suppress negative values.

Parameters

t

number

The elapsed time.

a

number

The initial decline rate. This is the initial negative slope of the decline curve.

b

number

The hyperbolic decline exponent constant. 1 for harmonic decline. 0 for exponential decline. -1 for linear decline (with clipping to 0). Between 0 and 1 for hyperbolic decline.

Returns

number

The decline factor.

Clone this wiki locally