GestureSynth.me

Music calculator

Audio Group Delay Calculator

Estimate audio group delay from two unwrapped phase measurements and frequencies. Check sign, phase ambiguity and finite-difference limits.

group delay calculator

Audio Group Delay Calculator guide

Calculate the negative phase slope between two frequency points from one transfer measurement. The result is a finite-difference estimate of group delay over the stated frequency interval.

Play the instrument ↑
Calculation model
Group delay in seconds is −dφ/dω, with phase in radians and angular frequency in radians per second.

Formula and input units

Group delay in seconds is −dφ/dω, with phase in radians and angular frequency in radians per second. For two phase values in degrees, estimated delay in milliseconds is −1,000 × (φ₂ − φ₁)/(360 × (f₂ − f₁)). Frequencies must differ.

Worked examples

Phases of −90 degrees at 1,000 Hz and −180 degrees at 2,000 Hz give 0.25 ms. The phase changes by −90 degrees across 1,000 Hz. With the same frequency pair and second phase −270 degrees, the estimate is 0.5 ms.

For a pure delay of 1 ms, phase decreases by 360 degrees for every 1,000 Hz increase. Using −360 degrees at 1,000 Hz and −720 degrees at 2,000 Hz returns 1 ms. Those unwrapped phases both appear as zero when displayed only modulo one cycle.

Using the result

Use phase values from the same reference path and a consistently unwrapped frequency response. Retain channel ordering and calibration settings. Taking one phase from a different reference or a separately wrapped display can introduce a full-cycle ambiguity that has little to do with the actual phase slope.

Choose the frequency interval to suit the feature being examined. A broad interval reports an average slope and can hide a rapidly changing resonance. A very narrow interval is more sensitive to phase noise and frequency resolution. Compare several nearby intervals when investigating a real group-delay feature.

Checks and comparisons

Swap the first and second frequency-phase pairs together as a consistency check. Both numerator and denominator change sign, so the calculated delay stays the same. Swapping only the phase values changes the measured relationship and should not be treated as the same test.

Adding a constant phase offset to both values leaves group delay unchanged. A polarity reversal can therefore add a constant 180 degrees without changing the slope. Adding a full cycle to only one phase, however, changes the finite-difference result and illustrates why consistent unwrapping is essential.

A constant pure delay produces a linear unwrapped phase response. If adjacent frequency pairs yield similar group-delay estimates, that is consistent with an approximately linear phase region under the chosen reference. If the estimates vary strongly, inspect whether the response contains a real dispersive feature, measurement noise or an unwrapping error. The two-point calculation by itself cannot distinguish those causes, so retain the original phase trace for diagnosis.

The estimate is associated with the interval between the two entered frequencies, commonly represented near its midpoint when plotting a sequence of results. A broad interval should not be labeled as a precise measurement at one endpoint without stating the method. Reducing the interval can improve localization but can also magnify phase noise in the derivative. Select the spacing to match the analyzer resolution and the feature being examined rather than merely choosing the smallest possible frequency difference.

Assumptions and limits

Group delay differs from phase delay, which divides a phase value by frequency under a stated convention. A pure time delay has equal constant group and phase delay when phase is consistently unwrapped. Filters with frequency-dependent phase generally require a frequency-dependent interpretation.

A negative estimate can arise from the measured phase slope and does not alone establish that information travels backward in time. Reference selection, filtering and narrow-band behavior matter. This calculator does not unwrap a complete response or judge causality. It evaluates two supplied phase-frequency points and rejects a zero frequency span.

Keep the original measured phase values alongside the result so that another person can reproduce the unwrap choice and frequency interval. A delay without those conditions is difficult to compare across systems.

Answers before you play

Common questions

Can I enter wrapped phase?

Use consistently unwrapped values. A wrap between the points can add or remove a complete cycle and give a different slope.

What happens if both frequencies are equal?

The frequency denominator is zero, so the form rejects that pair and asks for different frequencies.

Why does a constant phase offset cancel?

The equation uses the difference between the two phases. Adding the same constant to both leaves that difference unchanged.

Is this a complete group-delay curve?

It is one slope estimate across two points. A curve requires consistent measurements across a frequency grid and an appropriate differentiation or fitting method.