Play two notes together and your ear instantly judges them: smooth and sweet, or rough and clashing. The deciding factor is mostly arithmetic. When the two frequencies form a simple whole-number ratio β 2:1, 3:2, 4:3 β their waves lock into a short repeating pattern and their harmonics line up. Messy ratios never quite agree, so the waves grind against each other and you hear roughness and beating. Turn the sound on, and both hear it and see it below.
The lower note holds at a fixed pitch; the slider sets the frequency ratio of the upper note. Land on a simple ratio and the two waves (thin lines) sum into a short, stable, repeating shape (thick line) β that's consonance. Slide to a complex or slightly-off ratio and the sum becomes long and jittery, and you'll hear the beating / roughness of dissonance.
Stack three tones and the same physics scales up. A major triad is the ratio 4 : 5 : 6 β three small integers, so all three waves share a short common period and the chord sounds solid. Pick a preset, then drag the detune slider to nudge the middle note off its ratio and listen to consonance curdle into dissonance.
Every musical note is really a stack of harmonics β a fundamental frequency plus quieter overtones at 2Γ, 3Γ, 4Γ, β¦ its value. When two notes sit at a simple integer ratio like 3:2, huge numbers of their harmonics fall on exactly the same frequencies. Aligned harmonics reinforce instead of fight, the combined pressure wave repeats over a short period, and the ear reads it as one stable, pleasant sound.
When the ratio is complex or slightly off, nearby-but-unequal harmonics land close together and beat against each other. Beats faster than about 15β30 per second smear into the grating sensation Hermann von Helmholtz called roughness β the physical core of dissonance. A tritone (β 45:32) or a fifth detuned by a few cents has no short repeating period, so it shimmers and grinds.
That's the backbone: consonance β small whole-number frequency ratios β aligned harmonics + low roughness. It isn't the whole story β which intervals a culture prefers, and even which count as "tense", is learned and varies around the world. But the raw physics of small ratios is what every tuning system has to negotiate with, and it's why a major chord lands the same way on almost every ear.