GestureSynth.me

Music calculator

Exponential Decay Time Constant Calculator

Infer an exponential decay time constant from an observed amplitude drop in decibels. See the half-amplitude time and predicted 60 dB release.

exponential decay time constant calculator

Exponential Decay Time Constant Calculator guide

A release knob marked in milliseconds does not always tell you what fraction of a sound remains at that instant. Measure two points on a clean decay, enter their time separation, and enter how many decibels the amplitude fell. The fitted constant lets you compare different definitions of release time on a common scale.

Play the instrument ↑
Default result
43.429448 ms time constant

Calculation and units

For a decay toward zero, amplitude follows A(t) = A(0) times exp(−t/τ). An amplitude ratio becomes a positive drop D through twenty times log10 of earlier amplitude divided by later amplitude. Solving for τ gives twenty times elapsed time divided by D times the natural logarithm of ten, with the full product in the denominator.

Worked examples

Select a named case in the Worked example control to load these values. You can then edit any input to compare the result.

Twenty-decibel decay in 100 ms

Measured decay time (ms) = 100 · Amplitude drop (positive dB) = 20.

43.429448 ms time constant. Half-amplitude time 30.103 ms · time to a 60 dB drop 300 ms. Single exponential decay toward zero.

A twentieth-of-a-second display tick is not necessarily an envelope time constant. Here the level falls to one tenth of its starting amplitude in one hundred milliseconds.

Double the measured interval

Measured decay time (ms) = 200 · Amplitude drop (positive dB) = 20.

86.858896 ms time constant. Half-amplitude time 60.205999 ms · time to a 60 dB drop 600 ms. Single exponential decay toward zero.

The same amplitude ratio takes twice as long. Both the fitted time constant and the predicted time to half amplitude should double.

Sixty-decibel release

Measured decay time (ms) = 600 · Amplitude drop (positive dB) = 60.

86.858896 ms time constant. Half-amplitude time 60.205999 ms · time to a 60 dB drop 600 ms. Single exponential decay toward zero.

If the published release time means a sixty-decibel fall, this preset translates that specification into a single exponential constant for a synth model.

Half-amplitude observation

Measured decay time (ms) = 50 · Amplitude drop (positive dB) = 6.020599913.

72.134752 ms time constant. Half-amplitude time 50 ms · time to a 60 dB drop 498.289214 ms. Single exponential decay toward zero.

A level falling to half its initial amplitude drops just over six decibels. The predicted half-amplitude time should match the observed fifty milliseconds.

Fast percussive tail

Measured decay time (ms) = 12 · Amplitude drop (positive dB) = 24.

4.342945 ms time constant. Half-amplitude time 3.0103 ms · time to a 60 dB drop 30 ms. Single exponential decay toward zero.

Use an interval after the strike transient and before the noise floor. A percussive onset usually contains several processes and gives a poor single-slope fit.

Shallow fall over a long gate

Measured decay time (ms) = 1000 · Amplitude drop (positive dB) = 3.

2895.296546 ms time constant. Half-amplitude time 2006.866638 ms · time to a 60 dB drop 20000 ms. Single exponential decay toward zero.

A small observed decline can imply a long time constant. Even a modest error in the measured level difference will matter in this setting.

Interpreting the result

Use a consistent peak or RMS envelope measured over compatible windows. Plot level in decibels against time and select a region that looks straight. Repeating the calculation on an earlier and later interval can reveal a two-stage release or a reverberant tail taking over from the direct sound.

Measurement and model limits

An envelope with a nonzero sustain floor does not decay toward zero. Subtract the known floor in linear amplitude before forming a ratio if that model applies. Clip fading laws, logarithmic fader markings and automatic gain control can all produce trajectories that diverge from a single exponential.

Answers before you play

Common questions

What level remains after one time constant?

The amplitude is exp(−1) of its starting value, approximately 36.8 percent. That is a drop of about 8.69 decibels.

Must the earlier measurement be at time zero?

No. The ratio between any two points on a single exponential depends only on their time separation.

Can I enter two negative dBFS readings?

Subtract the later reading from the earlier reading and enter the positive difference. Moving from −12 dBFS to −32 dBFS gives a twenty-decibel drop.

Is a sixty-decibel decay time the same as τ?

A sixty-decibel amplitude decline takes about 6.91 time constants. The tool shows both values with their separate meanings.