Research-grade graduate course

Music &
Mathematics

From the Pythagorean comma to the topology of chord spaces β€” music as a laboratory for mathematical ideas, from eigenvalue theory to orbifolds.

9
Modules
16
Weeks
47
Sections
6
Interactive tools
3
Depth levels

The Harmonic Series: Where Music Meets Mathematics

A vibrating string produces frequencies that are integer multiples of the fundamental

fn=1Fundamental2fn=2Octave3fn=3Fifth4fn=42nd Octave5fn=5Major 3rd6fn=6Fifth7fn=7min 7th*8fn=83rd OctavePythagorean discovery: consonant intervals = small integer ratios (2:1, 3:2, 4:3, 5:4)

Six Mathematical Domains, One Musical Thread

MUSICthe common threadFourierAnalysisM1NumberTheoryM2GroupTheoryM3Combinatorics& GeometryM4InformationTheoryM5Topology &OrbifoldsM6

The Tonnetz: Harmony as Geometry

Horizontal = perfect fifth (+7), diagonal = major third (+4) β€” triads are triangles

CGDAEBF#C#EBF#C#G#D#A#FG#D#A#FCGDAC major triad highlighted β€” P, L, R operations are reflections across triangle edges

About This Course

Music and mathematics have been intertwined since antiquity. The Pythagoreans discovered that consonant intervals correspond to simple integer ratios; Fourier showed that any sound can be decomposed into sinusoidal components; group theory explains the symmetries of musical transformations; and topology reveals the geometry of chord progressions.

This course explores these connections rigorously, starting from the wave equation and Fourier series, through Diophantine approximation (why 12 tones?), group actions on the Tonnetz, Euclidean rhythms, information-theoretic models of musical expectation, orbifold voice-leading geometry, algorithmic composition, and 12 open research problems at the frontier.

Every module includes interactive components: a Fourier synthesizer, a Tonnetz explorer, a tuning comparator, a Euclidean rhythm generator, a Markov harmony engine, and an orbifold chord-space visualizer. Key equations are rendered with MathJax: from\(\frac{\partial^2 u}{\partial t^2} = c^2 \frac{\partial^2 u}{\partial x^2}\)(wave equation) to \(\mathcal{O}_n = (\mathbb{R}/12\mathbb{Z})^n / S_n\) (chord orbifold).

Module Outline

Interactive Components

M1

Fourier Synthesizer

Build any timbre from harmonics, hear the result in real time

M3

Tonnetz Explorer

Navigate P/L/R neo-Riemannian transformations on the torus

M2

Tuning Comparator

Play the same chord in 6 tuning systems simultaneously

M4

Euclidean Rhythm Generator

Generate (k,n) rhythms, visualise necklace equivalence

M5

Markov Harmony Engine

Probabilistic chord sequences trained on Bach chorales

M6

Orbifold Chord Space

3D visualization of 2- and 3-voice chord orbifolds

Prerequisites

CalculusPartial derivatives, integrals
Linear algebraEigenvalues, inner products
Basic group theoryFor M3 onwards β€” a primer is provided
Some analysisLΒ² spaces for M1 graduate sections

Key References

β€’ Lewin β€” Generalized Musical Intervals and Transformations (1987)
β€’ Tymoczko β€” A Geometry of Music (2011)
β€’ Toussaint β€” The Geometry of Musical Rhythm (2013)
β€’ Huron β€” Sweet Anticipation (2006)
β€’ Xenakis β€” Formalized Music (1971)
β€’ Helmholtz β€” On the Sensations of Tone (1863)

MIT 21M.383: Computational Music Theory

47 video lectures covering music representation, pitch theory, corpus analysis, and computational approaches to music theory.

0. Overview for OCW Learners

1. How Do Computers Represent Music?

2. Notes, Pitches & Durations

3a. Pitch Representation

3b. Pitch: Pros, Cons & Stakeholders

4. Scores & Music Representation

5. Music Representation (II)

6a. Representation (III): Unlocking Pitch

7. Representation (IV) & Hierarchies

8. Hierarchies (II): Streams & Recursions

9a. Music Information Retrieval

10. Equivalence & Intervals (I)

11. Equivalence & Intervals (II)

12a. Painting Emotions in Music

12b. Chorales as a Corpus

13. Corpus Studies & Statistics

β€œMusic is the pleasure the human mind experiences from counting without being aware that it is counting.”

β€” Leibniz

Begin Module 0 β†’