Recent Comments


Categories


Archives


Tags

Frequency, (one-third) octave, and decade

You are all familiar with graphic equalizers like the DBX 231S below. You may have wondered why the frequencies for each band are defined as they are shown on this equalizer. This DBX 231S is a dual channel, 31-band 1/3-octave constant Q frequency band equalizer. Do you want to understand where these frequencies come from and what this 1/3-octave implies? Then, read on. 

Similarly, again in the context of equalizing, you may have seen figures like below. Where does the strange division (in decades) of frequencies come from? How to interpret the 6dB roll-off per octave? Want to know? Read on.

Decades

A decade is a unit for measuring frequency ratios on a logarithmic scale. One decade corresponds to a ratio of 10 between two numbers for example 100Hz and 1000Hz. In the next table, I show the frequencies that are a decade apart. For the actual calculation I started at 1000Hz (see R script below) and determined the decades below and above this frequency. The next decade would be 100kHz, which is of no practical use for us and, thus, I stopped at 10,000Hz.  The table also shows the octave bands (from f_{low} to f_{high}) with the bandwidth (BW) being defined as

    \[ BW = \frac{100*f_{high} - f_{low}}{f_{center}} \]

This ‘relative’ bandwidth is constant for the decade bands. The center frequency (f_{center}) is the geometric mean of the lowest and highest frequency of each band (f_{center} = \sqrt{f_{low} * f_{high}}.  The geometric mean is often used for a set of numbers whose values are meant to be multiplied together or are exponential in nature.

f_{low} and {f_{high} can directly be calculated from the center frequency: f_{low} = \frac{f_{center}}{\sqrt{10}} and f_{high} = f_{center} * \sqrt{10}. In this calculate we use the square root of 10, which is the multiplication factor used to determine the succeeding frequencies.

 

In the plot below I show the frequencies (black solid lines) and the frequency bands (dotted blue lines) on a linear frequency scale (x-axis). The lower frequencies are very close together since the full range of the scale (0 to 10kHz) is large. This makes immediately clear why it is better to use a logarithmic scale to make these plots.

 

In the plot below I now show the frequencies (black solid lines) and the frequency bands (dotted blue lines) on a logarithmic frequency scale (x-axis).  A logarithmic scale (or log scale) is a way of displaying numerical data over a very wide range of values in a compact way.  On this scale the difference between pairs of ticks is not constant as on the linear scale. For the figurer below I performed a log_{10} transformation. Now we see that the center frequencies are at equal distances from each other and it is also clear that on this scale the lower and upper frequencies of each band are equidistant. This figure is far more easy to read.

In principle it is possible to also plot other frequencies on the logarithmic scale, which I have done below. We see here, for example, that the distance between 2 and 3Hz is the same as the distance between 20 and 30Hz, which is the same as the distance between 20 and 30kHz. We also see that the frequencies become more compressed on the x-axis if they become larger.

 

Octaves

Next to decades, frequencies are often displayed as octave bands. An octave is a doubling of the frequency. Thus, instead of a multiplication factor of 10, we now have a multiplication factor of 2. The principles are the same as for the decades. If we start at a frequency of 1kHz then we can construct the octave bands shown in the table below. The BW is defined identical as in the case of the decades and the center frequency is again the geometric mean of the lower and higher frequencies.

However, the calculation of f_{low} and {f_{high} from the center frequency is slightly different: f_{low} = \frac{f_{center}}{\sqrt{2}} and f_{high} = f_{center} * \sqrt{2} since our multiplication factor is 2.

In the plot below, I have plotted the octave bands on a linear scale (black lines: center frequencies; dotted blue lines: octave bands).

 

In the plot below the frequencies are shown on a logarithmic scale but this time the axis is transformed by log_{2}.

 

One-third octaves

Finally, we regularly see one-third octave bands. A one-third octave is a logarithmic unit of frequency ratio equal to either one third of an octave (major third). One-third octave” is defined as one tenth of a decade, corresponding to a frequency ratio of \frac{f_{n+1}}{f_{n}} = 10^{1/10} \approx 1.259, or one tenth of a decade (base 10; ANSI S1.6-2016)

This frequency ratio defines the 10 intervals to bridge a decade. Thus, starting at 100Hz we would get the following 10 subsequent frequencies:

125.8925412
158.4893192
199.5262315
251.1886432
316.227766
398.1071706
501.1872336
630.9573445
794.3282347
1000

In a similar way we can also define the one-third octave band as the frequency ratio of \frac{f_{n+1}}{f_{n}} = 2^{1/3} (base2; ISO 18405:2017). It is easy to show that these definitions are approximately the same:

We need to solve for x in:

    \begin{align*} 10^\frac{1}{10} &= 2^\frac{1}{x} \\ log_{10}(10^\frac{1}{10}) &= log_{10}2^\frac{1}{x} \\ \frac{1}{x} &= \frac{1}{10log_{10}(2)} \approx \frac{1}{3} \end{align*}

 

Thus, the calculation of subsequent frequencies is f_{n+1} = 2^{1/3} * f{n}.

The calculation of f_{low} and {f_{high} from the center frequency is now:

f_{low} = \frac{f_{center}}{\sqrt{2^{1/3}}}

f_{high} = f_{center} * \sqrt{2^{1/3}}

since our multiplication factor is 2^{1/3}. This is equal to

f_{low} = \frac{f_{center}}{2^{1/6}} and f_{high} = f_{center} * 2^{1/6}.

 

Applying all of this, we get the third-octave band table below. I have not rounded the (center) frequencies, but in general these frequencies are rounded to avoid dealing with non fractional numbers. These are then referred to as the “preferred values” (ISO3: 1973)

 

Below the one-third octave bands on a logarithmic scale.

 

 

Boundaries of bands

Above we have seen that f_{low} and {f_{high} can directly be calculated from the center frequency: f_{low} = \frac{f_{center}}{\sqrt{10}} and f_{high} = f_{center} * \sqrt{10}. In this calculate we use the square root of 10, which is the multiplication factor used to determine the succeeding frequencies. This is easily checked if we realize that, for decades,

    \begin{align*} f_{high}^{n} &= f_{center}^{n} * m \\ f_{low}^{n+1} &= \frac{10*f_{center}^{n}}{m} \\ \end{align*}

with m being our multiplication factor, and realizing that the high boundary of the first frequency band (n) and the low boundary of the subsequent (n+1) frequency band should be equal.  Thus, we obtain:

    \begin{align*} f_{center}^{n} * m &= \frac{10*f_{center}^{n}}{m} \\ m &= \sqrt{10} \end{align*}

In a similar way we can derive the multiplication factors m for the (one-third) octave bands.

 

Geometric mean

Above we showed that f_{center} is the geometric mean of the boundary frequencies, i.e., \sqrt{f_{low}*f_{high}}. This can also easily be checked starting from the same set of equations:

    \begin{align*} f_{high}^{n} &= f_{center}^{n} * m \\ f_{low}^{n+1} &= \frac{10*f_{center}^{n}}{m} \\ \end{align*}

Reorganizing both equations give:

    \begin{align*} f_{c}^{n} &= \frac{f_{high}^{n}}{m} \\ m &=\frac{10*f_{center}^{n}}{f_{low}^{n+1}} \\ \end{align*}

Substituting the second equation in the first  gives

    \begin{align*} (f_{c}^{n})^2 &= \frac{f_{high}^{n} * f_{low}^{n+1}}{10} \end{align*}

Realizing that f_{low}^{n+1} = 10*f_{low}^{n} results in

    \begin{align*} (f_{c}^{n})^2 &= f_{high}^{n} * f_{low}^{n} \\ f_{center}^{n} &= \sqrt{f_{high}^{n} * f_{low}^{n}} \end{align*}

 

R script

I made a small R script to generate the tables and figures shown above. R is a free software environment for statistical computing and graphics. You can download it [here]. If you consider using this script then you also may want to install RStudio [here].

Icon

Frequency, Octave, decade plots (R script) 13.53 KB 83 downloads

See also Frequency, (one-third) octave, and decade GitHub ...

 

References

Icon

Specification of (fractional) octaves (ANSI S1.11.2004) (pdf) 2.41 MB 168 downloads

Specification for octave-band and fractional-octave-band analog and digital filters...

 

Published On: June 5th, 2021Last Updated: June 13th, 2021Categories: Audio technology EducationTags: , , ,