KiMiASound Design
Level 1 · Foundations›Module 1 · Sound for keyboard players
0%
Module 1 · Lesson 1 of 5

Pitch: what a note is

Every key on your keyboard starts a vibration, and how fast it vibrates is the pitch you hear. Learn to read a note as a number, and the whole keyboard becomes a map you can calculate with.

14 minHeadphones or studio monitorsKiMiA and your keyboard
In this lesson you will
  • Explain a note as a vibration with a frequency in hertz
  • Find any key’s frequency from octaves and semitones
  • Hear two notes slightly out of tune as beating

01A note is a vibration

Press a key and something starts to shake: a string, a reed, a column of air, or, in a synthesizer, a loudspeaker cone. The shaking pushes the air back and forth, and those tiny pressure waves reach your ear.

What makes it a note, rather than a noise, is that the vibration repeats. The same shape comes back again and again, many times a second. Each repetition is one cycle, and the number of cycles in a second is the frequency, measured in hertz (Hz). A4, the A above middle C, vibrates 440 times a second: 440 Hz.

Figure 1.1.1

A sine wave at A4: 440 vibrations every second

Sine · A4 · 440 Hz
Waveform · 3 cycles
cycle 1cycle 2cycle 3
Spectrum: one frequency
501002005001k2k5k10k20k0-20-40-60dBHz
Audio example — listen in the online course
The air pressure rises and falls 440 times a second; each rise and fall is one cycle, 2.27 ms long. A sine wave is the simplest vibration there is: on the right, its spectrum is a single line, one frequency and nothing else.

The simplest vibration is the sine wave: a smooth swing back and forth, like a pendulum or a tuning fork. It is the only sound made of exactly one frequency, which is why the spectrum on the right shows a single line. Every other sound you will meet in this course is built from sine waves added together. That is the subject of the next lesson.

At the keyboard

The faster the vibration, the higher the pitch. The lowest A on a piano vibrates 27.5 times a second, slowly enough that you can almost feel the separate pulses. The top C vibrates over four thousand times a second.

02Octaves double the frequency

Play A3, A4 and A5. Your ear says “the same note, three heights”. Their frequencies say why:

Figure 1.1.2

Three A’s, the same 10 milliseconds

A3 · 220 HzA4 · 440 HzA5 · 880 Hz
A3 · 220 Hz
A4 · 440 Hz
A5 · 880 Hz
Switch while it plays: same moment, different sound Audio example — listen in the online course
In the same 10 ms, A3 completes 2.2 cycles, A4 4.4 and A5 8.8. Each octave up doubles the frequency, and your ear hears every doubling as “the same note, higher”.

An octave is a doubling of the frequency: A3 is 220 Hz, A4 440 Hz, A5 880 Hz. Doubling sounds the same to the ear wherever it happens, whether 55 to 110 Hz in the bass or 1760 to 3520 Hz at the top. That is why the keyboard repeats the same pattern of twelve keys over and over.

03The keyboard in hertz

Between one A and the next there are twelve keys, and Western tuning spaces them evenly: each key is the same ratio above the one below. Twelve equal steps must make a doubling, so each step multiplies the frequency by the twelfth root of 2, about 1.0595. One such step is a semitone.

Figure 1.1.3

The piano’s 88 keys in hertz

A027.5 HzC132.7 HzC265.4 HzC3130.8 HzC4261.6 HzA4440 HzC5523.3 HzC61.05 kHzC72.09 kHzC84.19 kHz
From A0, 27.5 Hz, to C8, 4.19 kHz: about seven octaves, and every key 1.0595 times the frequency of the one below. Middle C (C4) is 261.6 Hz; A4, the tuning note, is 440 Hz.

Here is one octave from middle C, with the MIDI numbers your keyboard actually sends:

KeyMIDIFrequency
C460261.6 Hz
C♯461277.2 Hz
D462293.7 Hz
D♯463311.1 Hz
E464329.6 Hz
F465349.2 Hz
F♯466370 Hz
G467392 Hz
G♯468415.3 Hz
A469440 Hz
A♯470466.2 Hz
B471493.9 Hz
C572523.3 Hz

Every key also has a MIDI note number: 60 for middle C, 69 for A4, one more for every semitone up. Your keyboard sends these numbers, and KiMiA turns each one into a frequency with exactly this rule: 440 Hz times 2 to the power of (note − 69) / 12.

A word on note names

This course uses the international naming: middle C is C4 (MIDI note 60), and the octave number goes up at every C. KiMiA’s own displays use it too (“A4 · 440 Hz”). Yamaha instruments, including the CK and MODX series, call middle C C3, so a note shows one octave number lower there. The key is the same; only the name differs.

04In tune and out of tune: cents and beating

A semitone is a big step. For tuning, musicians split it into 100 cents, so an octave is 1200 cents. Most listeners notice a difference of about 5 to 10 cents between two notes played one after the other. Played together, though, the ear is far more sensitive, because two close frequencies produce beating:

Figure 1.1.4

Two sine waves 4 Hz apart beat 4 times a second

A4 alone · 440 Hz440 Hz + 444 Hz together
One sine: a steady level
0 s0.5 s1 s1.5 s2 s2.5 s3 s
Two sines, slightly apart: beating
0 s0.5 s1 s1.5 s2 s2.5 s3 s
Switch while it plays: same moment, different sound Audio example — listen in the online course
When two frequencies are close, their waves drift in and out of step. In step they add up, out of step they cancel, and the level swells and fades. Here the engine’s output dips 4 times a second: the difference between 444 and 440 Hz. Piano tuners listen for exactly this.

The beat rate is simply the difference between the two frequencies: 444 − 440 = 4 beats a second. As two notes get closer to each other the beating slows, and when it stops they are in tune. Piano tuners, guitarists and string players all tune by listening for it.

In KiMiA

KiMiA tunes to A = 440 Hz unless you change it, with Master tune in Routing›Stage Settings: from 415 to 466 Hz in half-hertz steps, with a 440 Hz button to come back. Use it to match an acoustic piano that sits a little sharp or flat, or a band tuned to 442. Tuning belongs to your setup, not to a sound: switching sounds never changes it.

05The range of hearing

Young ears hear from about 20 Hz to about 20,000 Hz (20 kHz). The top of that range drops with age: many adults hear little above 14 to 16 kHz. At the bottom, very low frequencies are felt as much as heard, and small speakers can’t reproduce them at all. Listen to these sine waves, starting with your volume low:

Turn your volume down first Audio example — listen in the online course

The piano’s keys stop at about 4.2 kHz, yet the sound of a piano reaches far higher, through the harmonics you will meet in the next lesson. Which of these tones you hear clearly depends on your ears, your speakers and your headphones. On laptop speakers the 30 and 60 Hz tones may disappear completely.

Watch out

High sine tones are uncomfortable and tiring. Keep the volume moderate whenever you test sounds, and give your ears a break after loud sessions: your hearing is your most important tool.

06A habit to start now

Whenever a sound catches your ear from now on, ask three things: how high, how loud, and what color? Those three questions run through the whole course.

07Try it

  1. Load the sine. Import this module’s course patches (see the module page) and choose 01 · Pure Sine. Play A3, A4 and A5, then C4. Notice how plain a pure sine sounds: one frequency, nothing else.
  2. Find the frequencies. Using the rule (each octave doubles, each semitone ×1.0595), work out the frequency of E4 and of A2. Check them with the table above.
  3. Hear beating. Load 01 · Tuning Beats and hold A4: it beats four times a second. Now play A3 and A5 and count the beats. Do they change?
  4. Test your speakers. Play the lowest and highest keys on the sine patch on your speakers, then on headphones. Note where each one seems to fade.
Your notes · the frequencies of E4 and A2, and the beat rates at A3 and A5

08Check yourself

Q1A note vibrates 220 times a second. What is the note an octave above it?
An octave doubles the frequency: 220 × 2 = 440 Hz. (220 Hz is A3, 440 Hz is A4.)
Q2What is the MIDI note number of the C one octave below middle C?
Middle C is 60, and an octave is 12 semitones: 60 − 12 = 48. The course calls it C3 (a Yamaha display shows C2).
Q3Two notes played together beat 3 times a second. How far apart are their frequencies?
The beat rate equals the difference in frequency: 3 beats a second means the notes are 3 Hz apart.
Q4Why does the keyboard’s pattern of twelve keys repeat?
Twelve equal semitones make an octave, a doubling of the frequency, and a doubled frequency sounds like the same note higher up.