# Octave

In music, an octave (Latin: octavus: eighth) or perfect octave (sometimes called the diapason) is an interval between two notes, one having twice the frequency of vibration of the other. The octave relationship is a natural phenomenon that has been referred to as the "basic miracle of music", the use of which is "common in most musical systems". The interval between the first and second harmonics of the harmonic series is an octave. In Western music notation, notes separated by an octave (or multiple octaves) have the same name and are of the same pitch class.
To emphasize that it is one of the perfect intervals (including unison, perfect fourth, and perfect fifth), the octave is designated P8. Other interval qualities are also possible, though rare. The octave above or below an indicated note is sometimes abbreviated 8$^a$ or 8$^{va}$ (Italian: all'ottava), 8$^{va}$ bassa (Italian: all'ottava bassa, sometimes also 8$^{vb}$), or simply 8 for the octave in the direction indicated by placing this mark above or below the staff.

## Explanation and definition

An octave is the interval between one musical pitch and another with double or half its frequency. For example, if one note has a frequency of 440 Hz, the note one octave above is at 880 Hz, and the note one octave below is at 220 Hz. The ratio of frequencies of two notes an octave apart is therefore 2:1. Further octaves of a note occur at $2^{n}$ times the frequency of that note (where n is an integer), such as 2, 4, 8, 16, etc. and the reciprocal of that series. For example, 55 Hz and 440 Hz are one and two octaves away from 110 Hz because they are +1⁄2 (or $2^{-1}$) and 4 (or $2^{2}$) times the frequency, respectively.
The number of octaves between two frequencies is given by the formula: ${\text{Number of octaves}}=\log _{2}\left({\frac {f_{2}}{f_{1}}}\right)$
* Oscillogram of middle C (261.62 Hz). (Scale: 1 square is equal to 1 millisecond)
* C5, an octave above middle C. The frequency is twice that of middle C (523.25 Hz).
* C3, an octave below middle C. The frequency is half that of middle C (130.81 Hz).

## Music theory

Most musical scales are written so that they begin and end on notes that are an octave apart. For example, the C major scale is typically written C D E F G A B C (shown below), the initial and final Cs being an octave apart.
Because of octave equivalence, notes in a chord that are one or more octaves apart are said to be doubled (even if there are more than two notes in different octaves) in the chord. The word is also used to describe melodies played in parallel one or more octaves apart (see example under Equivalence, below).
While octaves commonly refer to the perfect octave (P8), the interval of an octave in music theory encompasses chromatic alterations within the pitch class, meaning that G♮ to G♯ (13 semitones higher) is an Augmented octave (A8), and G♮ to G♭ (11 semitones higher) is a diminished octave (d8). The use of such intervals is rare, as there is frequently a preferable enharmonically-equivalent notation available (minor ninth and major seventh respectively), but these categories of octaves must be acknowledged in any full understanding of the role and meaning of octaves more generally in music.

## Notation
### Octave of a pitch

Octaves are identified with various naming systems. Among the most common are the scientific, Helmholtz, organ pipe, and MIDI note systems. In scientific pitch notation, a specific octave is indicated by a numerical subscript number after note name. In this notation, middle C is C$_4$, because of the note's position as the fourth C key on a standard 88-key piano keyboard, while the C an octave higher is C$_5$.
    Scientific C$_{−1}$ C$_0$ C$_1$ C$_2$ C$_3$ C$_4$ C$_5$ C$_6$ C$_7$ C$_8$ C$_9$ Helmholtz C,,, C,, C, C c c' c'' c''' c'''' c''''' c'''''' Organ 64 foot 32 foot 16 foot 8 foot 4 foot 2 foot 1 foot 3 line 4 line 5 line 6 line Name Dbl contra Sub contra Contra Great Small 1 line 2 line 3 line 4 line 5 line 6 line MIDI note 0 12 24 36 48 60 72 84 96 108 120

### Ottava alta and bassa

The notation 8$^a$ or 8$^{va}$ is sometimes seen in sheet music, meaning "play this an octave higher than written" (all' ottava: "at the octave" or all' 8$^{va}$). 8$^a$ or 8$^{va}$ stands for ottava, the Italian word for octave (or "eighth"); the octave above may be specified as ottava alta or ottava sopra). Sometimes 8$^{va}$ is used to tell the musician to play a passage an octave lower (when placed under rather than over the staff), though the similar notation 8$^{vb}$ (ottava bassa or ottava sotto) is also used. Similarly, 15$^{ma}$ (quindicesima) means "play two octaves higher than written" and 15$^{mb}$ (quindicesima bassa) means "play two octaves lower than written."
The abbreviations col 8, coll' 8, and c. 8$^{va}$ stand for coll'ottava, meaning "with the octave", i.e. to play the notes in the passage together with the notes in the notated octaves. Any of these directions can be cancelled with the word loco, but often a dashed line or bracket indicates the extent of the music affected.

## Equivalence

After the unison, the octave is the simplest interval in music. The human ear tends to hear both notes as being essentially "the same", due to closely related harmonics. Notes separated by an octave "ring" together, adding a pleasing sound to music. The interval is so natural to humans that when men and women are asked to sing in unison, they typically sing in octave.
For this reason, notes an octave apart are given the same note name in the Western system of music notation—the name of a note an octave above A is also A. This is called octave equivalence, the assumption that pitches one or more octaves apart are musically equivalent in many ways, leading to the convention "that scales are uniquely defined by specifying the intervals within an octave". The conceptualization of pitch as having two dimensions, pitch height (absolute frequency) and pitch class (relative position within the octave), inherently include octave circularity. Thus all C♯s (or all 1s, if C = 0), any number of octaves apart, are part of the same pitch class.
Octave equivalence is a part of most musical cultures, but is far from universal in "primitive" and early music. The languages in which the oldest extant written documents on tuning are written, Sumerian and Akkadian, have no known word for "octave". However, it is believed that a set of cuneiform tablets that collectively describe the tuning of a nine-stringed instrument, believed to be a Babylonian lyre, describe tunings for seven of the strings, with indications to tune the remaining two strings an octave from two of the seven tuned strings. Leon Crickmore recently proposed that "The octave may not have been thought of as a unit in its own right, but rather by analogy like the first day of a new seven-day week."
Monkeys experience octave equivalence, and its biological basis apparently is an octave mapping of neurons in the auditory thalamus of the mammalian brain. Studies have also shown the perception of octave equivalence in rats, human infants, and musicians but not starlings, 4–9-year-old children, or non-musicians.