liveBook · Manning

Octave

As explained in Learn Generative AI with PyTorch

The distance between one level of musical pitch and the next, where frequencies double from one octave to the next.

An octave is the distance between one level of musical pitch and the next. Moving up one octave doubles a sound’s frequency: A4 is 440 hertz, while A5 is 880 hertz. section 13.1.1

Each octave contains 12 semitones, from C through B. The same note name reappears after 12 semitones at a higher or lower octave, while a pitch number identifies both the octave and semitone. section 13.1.1 section 13.6

Reading octave and pitch

The number in C4 indicates octave 4. C4 has pitch number 60, whereas F3 has pitch number 53. These pitch numbers encode the note’s octave level and semitone for musical data. section 13.1.1

Figure 13.1 The relationship between musical notes, octaves, and pitches (also known as note numbers). The first column displays the 11 octaves (ranging from –1 to 9), representing different levels of musical sound. Each octave is subdivided into 12 semitones, which are listed in the top row: C, C#, D, D#, ..., B. Within each octave, each note is assigned a specific pitch number, ranging from 0 to 127, as indicated in the figure.

Use the octave-and-pitch diagram to compare 11 octave levels, their 12 semitones, and pitch numbers from 0 to 127. section 13.1.1

How Learn Generative AI with PyTorch covers it

How deep it goes
Defines octave frequency and subdivisions, then connects them to pitch numbers, without developing acoustic theory or model internals.
Examples
Uses middle C, C4, F3, A4, A5, frequency values, and pitch numbers as concrete examples.
What it assumes
Assumes no music-theory background and introduces notes, pitch, octaves, semitones, and pitch numbers from fundamentals.
What you can do after
Apply octave levels and pitch numbers to interpret notes and structure digital music data.
How it connects
Connects octaves with musical notes, pitch, semitones, pitch numbers, and MIDI-based digital music representation.

Also explained in

Compare how 2 books explain octave →

This explainer was generated by Manning's knowledge graph from the text of Learn Generative AI with PyTorch. The section links point to the parts of the book it draws on.