WaveStack is on the iOS App Store

Introduction to Sound Synthesis Pitch

Pitch and frequency

Pitch is how high or low a tone is heard, and it follows the frequency of the tone's fundamental. The ear compares frequencies by their ratio, so doubling a frequency raises the pitch by an octave wherever it starts.

An oscillator running at 220 Hz and one running at 440 Hz sound like the same note, one higher than the other. That interval is an octave, and it is a doubling of frequency at every pitch: 55 to 110 Hz is an octave, and so is 2 to 4 kHz. Pitch is therefore heard on a logarithmic scale of frequency: each octave covers twice as many hertz as the one below it, and each sounds like a step of the same size.

The tool below sets a frequency anywhere from 27.5 Hz to 4.2 kHz, the range of a piano, and plots it on a scale marked in octaves. It also names the nearest note in twelve-tone equal temperament, the tuning used by most Western instruments and by synthesisers by default, and how far the frequency is from that note in cents. Every frequency on the slider is a pitch you can play, and the note name is given as a reference.

Frequency, octave and note

One tone is set by frequency, and two buttons halve or double it. A second tone can be added an octave, a fifth or a fixed 100 Hz above the first.

Octave
Second tone

Listen for Halving or doubling the frequency always sounds like the same step, whichever octave you start from. At the bottom of the range the +100 Hz second tone is more than two octaves above the first, and at the top it is less than half a semitone above it, because the ear hears the ratio between two frequencies rather than the difference.

Ratios, not differences

Two frequencies 100 Hz apart can be almost any interval. At 110 Hz, adding 100 Hz gives 210 Hz, which is a little under an octave above. At 1760 Hz the same 100 Hz is less than a semitone. What the ear hears as the size of an interval is the ratio between the two frequencies. An octave is 2:1 at any pitch, and the fifth in the tool above is 3:2, the ratio between the second and third harmonics.

This is why a synthesiser's pitch controls are exponential. Adding a fixed amount to the control raises the frequency by a fixed ratio, so the same turn of a knob, the same change in control voltage or the same change in MIDI note number gives the same interval at any pitch. The chapter on one volt per octave describes the standard that most analogue and modular synthesisers use for it.

Notes, semitones and cents

Twelve-tone equal temperament divides the octave into twelve equal ratios. Each step, a semitone, multiplies the frequency by the twelfth root of two, about 1.0595, and twelve of them make exactly 2. The reference is A above middle C, written A4, at 440 Hz, and every other note follows from it. Intervals smaller than a semitone are measured in cents, with 100 cents to the semitone and 1200 to the octave.

Equal temperament is one way of dividing the octave among many. Just intonation uses whole-number ratios like 3:2 and 5:4 taken from the harmonic series, and those two intervals differ from their equal-tempered versions by 2 and 14 cents. Indonesian gamelan uses two tuning systems, slendro and pelog, with five and seven notes to the octave at intervals different from the equal-tempered ones, and Arabic maqam and Turkish makam music use intervals between the equal-tempered semitones. A synthesiser oscillator can produce any of these, because its frequency is continuous. The harmonic series guide compares the harmonic-series intervals with their equal-tempered neighbours, and where pitch comes from shows quantizers, which move a control signal to the nearest note of a chosen scale.

Common questions

What is an octave?

An octave is the interval between two pitches where one frequency is twice the other. 220 Hz and 440 Hz are an octave apart, and so are 55 Hz and 110 Hz. Pitches an octave apart are given the same note name in most musical traditions.

What frequency is middle C?

Middle C is about 261.63 Hz in twelve-tone equal temperament with A above middle C tuned to 440 Hz. Middle C is called C4 in the naming used on this site and by most synthesisers, although some manufacturers call it C3.

What is a cent?

A cent is one hundredth of an equal-tempered semitone, which makes 1200 cents to the octave. Cents measure the ratio between two frequencies on a scale that matches how pitch is heard, so 50 cents is the same size of interval at any pitch.

Why is A tuned to 440 Hz?

440 Hz is the standard reference pitch for the A above middle C, agreed internationally so that instruments made in different places can play together. Orchestras and historical performances sometimes tune higher or lower, for example to 442 Hz or 415 Hz.

How do I work out the frequency of a note?

In twelve-tone equal temperament with A4 at 440 Hz, the frequency of MIDI note number n is 440 × 2^((n − 69) / 12). Each semitone multiplies the frequency by the twelfth root of two, about 1.0595.

Published Updated Glossary