tags: mus-407 music waveform

Root mean square (RMS)

The root mean square (RMS) is the square root of the mean of a sequence of squared values:

$$x_{RMS}=\sqrt{\frac{x^2_1+x^2_2+x^2_3+...+x^2_n}{n}}$$

RMS has several applications, one of which is tracking the [amplitude] of an [audio signal].

Why RMS in audio?

What happens if we average sinusoidal values over a period of time?

RMS means we take the square root of the mean of a sequence of squared [sample] values:

$$x_{RMS}=\sqrt{\frac{x^2_1+x^2_2+x^2_3+...+x^2_n}{n}}$$

This always produces non-negative values, provides more meaningful measurement, and more accurately reflects continuous signal power.

RMS Tracking

RMS Tracking

General steps:

Example of RMS Tracking

Sine Wave RMS Tracking