The frequency assignment of musical notes
The notes
First, let’s define what is a note.
A note is an element of the countable set . Here exists a bijection from to denoted as . Therefore, all notes form a sequence
Our goal is to define a frequency assignment, which is a mapping , whose meaning is the frequency (in Hz) of the sound of a note.
It is a natural idea to define a sequence
It makes sense that the sequence is in strictly increasing order.
The octaves
Now, let’s think about a musical interval. At this stage, a musical interval can be defined as an unordered pair of notes. After long time of experimenting, people find that they tend to think a musical interval extremely harmonic if it consists of such two notes that the frequency of one of them doubles that of the other.
In other words, the musical interval of and is extremely harmonic if . In fact, it is so harmonic that if the two notes are played simultaneously, a person tend to think there is only one note being played:
1 2 3 4 |
motif = c4 c g g a a g2
piano:
V1: o4 motif motif
V2: o5 motif
|
The audio above is an illustration for octave intervals. As can be heard, the first part of the audio is played in octave intervals while the second part is played in single notes.
Considering that, here comes an amazing idea by which we can kind of make the sequence seem “periodic”. Let the “period” be denoted as . Because it is not virtually periodic, we tend to call it an octave instead of a period. After that, the constant is the length of an octave.
What on earth is an octave defined? It is Why do we say an octave is like a period? It is because according to the explanation above, corresponding notes in different octaves sound so harmonic that a person almost think they are the same. In this way, for some questions, we only need to consider a single octave instead of all notes. Let’s define the base octave, notes of which can generate all other notes by multiplying the frequency by a power of 2: so we can say the frequency assignment has different tones. A tone is an integer in representing where a note is in an octave.
We can thus define a sequence of octaves
In fact, any octave can be the base octave. They are all the same. For any , all notes can be generated by notes in . If we define , it is interesting to see that From that, we can naturally think an excellent frequency assignment be defined as which is an elegant arithmetic progression.
The octave group
Note that here “group” is the group concept in algebra.
Let be isomorphic to the additive group of , the integers modulo , under the isomorphism , which means to make a cyclic group of order . I call this group an octave group.
To make you have a good sense of what on earth the group looks like, the definition of its group operation can be defined as where .
Note that this binary operator can be extended to be used for the whole while the definition remains the same as Formula 2.
The octave group has a musical meaning which we should take a further look at musical intervals to find out.
The musical intervals
Taking Formula 1, people find that although it is sometimes subjective whether a musical interval sounds harmonic or not, it does not depend on where the interval is located but on how far the two notes making up the interval are.
Taking this sense, we can consider only those intervals involving because we can always translate a interval so that one of its notes is . Taking this idea, we can conclude that an interval can be represented by a note because the interval is equivalent to another interval which consists of and .
We can make this idea even further. Previously, I have stated that a note can always be generated by a note in . Therefore, an interval can be represented as a note in .
Now, let’s look back to the octave group . Denote the interval as that represented by . Then, translate interval to such a location that its lower note is . Then, its higher note represents the same interval as .
Well, why do we focus on the group? It is because we need to mention an important concept in group theory, which is “generator”. It has something to do with determining the value of .
The value of does not matter because changing it is just a translation of the whole sequence. What really matters is the value of .
The inventor of the current prevailing frequency assignment (which is the -tone equal temperament shown in Formula 3) may think the generator of the group a vital thing. Actually, people think it a wonderful thing that a note representing a very harmonic interval is a generator of the octave group.
Fortunately, such a goal is achievable. People find that if , then the interval (which is the perfect fifth interval if you know music theory) consisting of and sounds very harmonic:
1 2 3 4 |
motif = e4 a f2 d4 g c2
piano:
V1: motif
V2: (transpose 7) motif
|
Furthermore, as can be seen in the following table, is a generator of the group if : Thus, wonderful! Let’s take .
-tone equal temperament
TheThe -tone equal temperament is the most popular frequency assignment used nowadays. It is defined as which can be derived from Formula 1 taking
The frequency assignment has different tones, of which have their names: The famous “middle C” is .
This notation is called the scientific pitch notation.
Note that in fact, this definition of -tone equal temperament has some slight error. The accurate value for is because it is stipulated that , which is standardized as ISO 16 and known as A440.
Why
People think if the ratio of two frequencies is a simple rational number, then the interval of the two notes is harmonic.
, which is a simple ratio. Harmonic, huh.
(Finally, as is a notice, codes appearing above are alda codes, which are used to write music.)