Move cursor over canvas

Interactive Dissonance Viewer

This is an interactive simulation inspired by the MinutePhysics video on the physics of musical harmony and dissonance. It allows you to explore the "dissonance landscape" of different sounds, revealing why certain combinations of notes sound pleasant (consonant) and others sound harsh (dissonant).

How It Works

The core idea is that the perceived dissonance of a sound is related to how its frequency components interfere with each other and with the mechanics of our inner ear. A musical note from an instrument is not a single, pure frequency (a sine wave), but a combination of a fundamental frequency and a series of higher-frequency overtones. The specific set of overtones determines the instrument's unique sound, or timbre.

This simulation calculates the total sensory dissonance by summing up the dissonances between every possible pair of overtones from the notes being played. The valleys in the resulting graph (blue areas) represent low-dissonance, consonant combinations, while the peaks (red/yellow areas) are high-dissonance combinations.

How to Use

Future Directions

This is a simplified model. A more advanced simulation could include: