Google Classroom
GeoGebraGeoGebra Classroom

The Musical Scale

[url=https://remote.rsccd.edu/en/music-scale-notes-musical-melody-38675/,DanaInfo=pixabay.com,SSL+]"C-Major Scale"[/url] by Clker-Free-Vector-Images is in the [url=https://remote.rsccd.edu/publicdomain/zero/1.0/,DanaInfo=creativecommons.org+]Public Domain, CC0[/url]
"C-Major Scale" by Clker-Free-Vector-Images is in the Public Domain, CC0

The 12 Notes in an Octave

If you play music you know that there are 12 steps if you start at any note and end one octave higher (on the 13th note).  That begs the question about the naming of the octave.  Obviously "oct" means eight.  If you look at the musical scale above, it goes from a musical note named "C" to the same note one octave higher (also a "C") and back down again. The eighth and highest note is the octave. There are five notes not played in that scale above. So the reason we call it an octave, as if it is only eight notes, is that playing a piece of music in any key (combination of notes that tend to sound good together) only typically requires seven of of the 12 notes, where the 12th step (or 13th note) is the octave.  The five notes that are left out tend to sound a bit dissonant to the ear when played in combination with the other seven notes.  They certainly get used, but are referred to as "accidentals" to a musician. They add dissonance of the sort we're used to hearing in Jazz. I tend to wonder about many things.  For instance, when I started playing music, I wondered if 12 tones were chosen because that's what is best, or if it was like using the English system of measurement in the USA where stubborn persistence is the reason we keep using it rather than doing it because it's the best way. It turns out that 12 tones is the best solution to the problem of trying to come up with the highest likelihood that any two notes played simultaneously on an instrument would sound good together.  You might think that "sound good" is subjective, but we can actually quantify it.  But before we get to that discussion, I want to show you how the 12 tones or notes are arranged, and will convince you that 12 is best. The musical pitch (high or low tone) is related mathematically to the frequency of the sound wave. We will see soon that you never really only play a single frequency, but nonetheless, the pitch corresponds to the lowest frequency that a key on a piano or string on a guitar produces. The 12 tones, or notes in our musical scale, are related exponentially in frequency one to the other.  Starting at any note of frequency , we find that a note n steps above the starting note will have a frequency f given by

It's easy to see that if we set n=12 we get a doubling of frequency.  A doubling in frequency is an octave.  It is the most harmonic sound in music, and happens to be the first two tones played in the well known tune "Somewhere Over the Rainbow". Try it out on the keyboard below. The notes play true tones based on the tuning standard of the note called middle-C being tuned to a frequency of 261.6 Hz. The names of the notes show up when you press the keys.

Musical Intervals

The value of 'n' in our equation corresponds to the number of steps that a higher note is above a starting note. The starting note is often called the root note. Technically the steps are called half steps or semi-tones to a musician. When a note n steps above a root is played, it is assigned a name like: minor 3rd or perfect 4th or major 2nd. A list of the names of these intevals, as they're called, is shown in this table. The symbol for minor is 'm', for major is 'M', and for perfect is 'P'.
nInterval name
0Perfect unison
1minor 2nd
2Major 2nd
3minor 3rd
4Major 3rd
5Perfect 4th
6augmented 4th or diminished 5th
7Perfect 5th
8minor 6th
9Major 6th
10minor 7th
11Major 7th
12Perfect octave

12 Notes is Best

If the musical world used anything other than a 12 note octave, and you wished to find the frequencies of the notes, you'd just substitute that number for the 12 in the equation above.  For instance, if it was just five steps to the octave, the equation would simply be . In the plot below I have indicated with black dots the relative frequencies of the tones in the 12-tone octave.  I have also created a slider that allows you to compare those to the tones that would be created in a scale with n tones to complete the octave (or doubling of pitch, since it wouldn't make sense to call it an octave anymore).  The vertical lines are small-integer ratios such as 2/1, 3/2, 4/3, etc.  Those are there because they are the ones that sound most harmonic to the human ear.  This is an important first fact about harmony.  Any two notes played together tend to sound good if their frequencies are small-integer ratios of one another. We will discuss harmony further in a later section, but if you'd like to read more about the precise tunings of modern instruments in relation to these frequency ratios, a good place to start and to go deeper would be reading about equal temperament.  There is a lot more to music and harmony than meets the ear, and I can only scratch the surface here for lack of time to devote to this topic. In any case, you can see below that 12 tones is the scale that has the most notes near to these small-integer valued ratios.  At the top of each vertical line is the name of the musical intervals for those familiar with basic music theory.  In the table are calculated the ratios to see how close many are to perfect small-integer ratios.