Visualization of music notes’ frequency

Jimmy (xiaoke) Shen
2 min readJun 7, 2024

--

From [1] we can find the music note. I am not sure the math relation of those frequency and wants to figure it out.

Every note’s frequency is doubled when move from Octave n to Octave n + 1

We can easily check A. And we can see similar conclusion for other notes although they may not be perfect of 2 but 1.9999XXX are very close.

From C to B, the frequency does not follow a linear pattern.

Actually, it is exponentially increasing.

Let’s check the Octave 4 first as the C here is middle C in piano.

In order to better visualization, I give each note an ID from 0 to 11.

Visualization of all 9 Octave can be found below

Check all those 9 Octave in one plot

When put all those 9 Octave into one plot, and give each note an index begin from 0, we can find this curve

Indeed, it follows an exponential relationship.

When check the numbers, we found actually, the curr note / prev note has the ratio of 1.059 as shown here.

Frequency relative to C note

We can see that G’s frequency is 1.5 of C note. This probably the reason of G and C sounds similar.

Hope those numbers and visualization is helpful.

The visualization data can be found in this Google Spreadsheet.

Reference

[1] https://mixbutton.com/mixing-articles/music-note-to-frequency-chart/#:~:text=The%2012%20semitones%20on%20an,purposes%20of%20measurement%20and%20identification.

--

--