Create your own
Lesson illustration

Piano Notes, Octaves, Semitones, and Tones

Welcome to your first lesson. This course is designed to take you from the fundamentals of music production to the specific techniques used by artists like deadmau5. Our journey begins not with complex synths, but with the very building blocks of all Western music: notes and the relationships between them.

This first module, "Music Theory Foundations," will equip you with the essential language of music. Today, we'll focus on the absolute basics. The goal is to learn how to identify notes on a piano keyboard and understand the fundamental intervals of octaves, semitones, and tones. This knowledge is the bedrock upon which we will build everything else, from melodies and chords to the intricate arrangements you want to create. Given your background in quantitative fields, you may find the mathematical precision underlying these musical concepts particularly interesting.

The Keyboard: A Visual Map of Pitch

The modern piano keyboard is the standard interface for composing with MIDI in a Digital Audio Workstation (DAW) like Ableton Live. Understanding its layout is the first step to translating musical ideas into your computer.

The keyboard consists of a repeating pattern of white and black keys. The key to navigating this pattern is to first locate the groups of two and three black keys.

The white key immediately to the left of any two-black-key group is always the note C. Once you can find C, you can find all the other white notes, which follow the letters of the alphabet: C, D, E, F, G, A, B. After B, the cycle repeats, starting with the next C.

To solidify this, watch the first part of this video from MusicTechHelpGuy, which clearly demonstrates how to identify notes on the keyboard and introduces the concept of "Middle C".

Music Theory for Producers #01 - Basic Notes, Octaves, Staff, Clefs

This video provides a producer-focused introduction to the keyboard. We'll start by learning how to orient ourselves using the black keys.

Please watch from the beginning of the "Piano Roll and Octaves" chapter up to the end of the explanation on octaves. Pay close attention to how he uses the two-black-key group to locate C, and the names of the seven white keys.

As you saw, the notes ascend alphabetically from C to G, then restart at A. This seven-note sequence (C, D, E, F, G, A, B) forms the basis of the C major scale, a concept we will explore in depth in a future lesson.

Semitones and Tones: The Units of Pitch

Now, what about the black keys? And what is the precise distance between each key?

The smallest interval, or distance in pitch, in Western music is called a semitone. On a keyboard, a semitone is simply the distance from one key to the very next key, whether it's black or white.

  • C to the black key above it is one semitone.
  • E to F (which has no black key between) is also one semitone.

An interval of two semitones is called a whole tone or simply a tone.

  • C to D is a whole tone (it spans two semitones: C to C-sharp, and C-sharp to D).
  • E to F-sharp is a whole tone (E to F is one semitone, F to F-sharp is the second).

This means the keys on a piano are not all spaced equally in terms of whole tones. The black keys fill in the gaps to create a consistent scale of semitones. This complete 12-note scale (e.g., from C up to the next B) is called the chromatic scale.

The following video explains this concept and introduces the naming convention for the black keys.

What are the frequencies of musical notes? Musical tuning systems - Ep. 03

This video offers a slightly more technical look at the keyboard, including how black keys are named and the definition of tones and semitones.

Watch the segment from "The black keys..." to learn about sharps (♯) and flats (♭). A sharp is the note a semitone higher than its namesake (e.g., C♯), while a flat is a semitone lower (e.g., D♭). As you'll see, C♯ and D♭ are the same key. This is called an enharmonic equivalence. Then, continue watching to understand the concepts of semitones and whole tones.

The Octave: Frequency and Perception

You've now seen that the pattern of notes repeats up and down the keyboard. The interval between a note and the next note of the same name (e.g., from one C to the next C) is called an octave.

Musically, notes an octave apart sound very similar, almost like a different "shade" of the same color. Physically, this relationship has a precise mathematical definition: a note an octave higher has exactly double the frequency of the lower note. For example, the standard tuning pitch for A in the 4th octave (denoted as A4) is 440 Hz. The A in the next octave up (A5) is 880 Hz, and the A in the octave below (A3) is 220 Hz.

This simple doubling relationship, however, interacts with a more complex reality: our perception of pitch is not linear, but logarithmic. This means we perceive equal ratios of frequencies as equal steps in pitch. A jump from 220 Hz to 440 Hz (a 220 Hz difference) sounds like the same pitch interval (one octave) as a jump from 880 Hz to 1760 Hz (an 880 Hz difference).

To make these perceptually equal steps happen, the frequency of each consecutive semitone must increase by a constant multiplicative factor. Since there are 12 semitones in an octave and the frequency must double across that octave, the frequency of each note must be multiplied by the twelfth root of two () to get the frequency of the next semitone.

This system is called 12-tone equal temperament, and it is the foundation of almost all modern music. The following video explains this relationship between frequency, perception, and the mathematical basis of our tuning system.

What are the frequencies of musical notes? Musical tuning systems - Ep. 03

This video explains the physics and mathematics behind pitch and octaves. This should connect well with your quantitative background.

Please watch the section that explains the logarithmic perception of frequency. Note the demonstration of how linear frequency increases result in smaller perceived pitch changes at higher frequencies. Then, focus on the explanation of equal temperament and the derivation of the twelfth root of two as the semitone multiplier. This is the core mathematical principle of the modern keyboard.

To distinguish between octaves, a numbering system is used. In many DAWs, including Ableton Live by default, Middle C is labeled C3. The D above it is D3, the E is E3, and so on, until you reach the next C, which becomes C4. This allows you to specify a note's exact pitch, not just its name.

Music Theory for Producers #01 - Basic Notes, Octaves, Staff, Clefs

This final clip shows how octave numbers are practically applied on the keyboard and in a DAW's piano roll.

Watch the section that explains octave identification numbers. This will help you navigate your MIDI keyboard and Ableton's piano roll with precision.

Practical Application

Let's put this into practice.

  1. Open Ableton Live.
  2. In the Browser, go to Instruments -> Simpler. Drag an instance of Simpler onto a MIDI track. It will load with a default sine wave, which is perfect for hearing pure pitches.
  3. In the piano roll for that track, locate C3 (Middle C).
  4. Play C3, then play C4. Listen for the "sameness" of the note, despite the clear difference in pitch. Notice the doubling of pitch.
  5. Find A4. If you have a tuner available, you could verify that its fundamental frequency is 440 Hz.
  6. Play the chromatic scale starting from C3: C3, C#3, D3, D#3, E3, F3, F#3, G3, G#3, A3, A#3, B3. Listen to how each step feels equal in size. You are hearing the product of that logarithmic perception and exponential frequency increase.

Conclusion

In this lesson, we established the fundamental vocabulary for discussing pitch. You now have the tools to navigate the musical keyboard, the primary interface for electronic music production.

Here are the key takeaways:

  • The piano keyboard is a repeating pattern of 12 notes (7 white, 5 black). The note C is always to the left of the two-black-key group.
  • The smallest pitch interval is a semitone (one key to the next). Two semitones make a whole tone.
  • An octave is the interval between two notes of the same name, representing a doubling of frequency.
  • Our musical system (12-Tone Equal Temperament) is based on an exponential increase in frequency (), which our brains perceive as a linear increase in pitch.

In our next lesson, we will use these foundational concepts to start building musical structures. We'll move from individual notes to constructing major and natural minor scales, which are the ordered sets of notes that form the basis of nearly all melodies and chord progressions you hear.

Can't find a good explanation? Sign up and we'll make it for you

Sign up