› Music Chord Harmonics Visualizer Back

MUSIC / ACOUSTICS

Music Chord Harmonics Visualizer

Pick a chord. See how its pitches and harmonics fit together.

01 Try a chord
12-tone equal temperament
AMajor triad
Position = frequency
Stem height = amplitude
Note 1 · +0440.00Hz
Note 2 · +4554.37Hz
Note 3 · +7659.26Hz

Preparing the model. Reload if it takes too long. Initial values and the guide remain available.

NOTICE

Sound plays only when you press the button
1 · sine wave10 · more partials
0.5 · stronger partials3 · mostly fundamental

Relative amplitude: 2nd harmonic0.500Fundamental amplitude = 1

Each note above, their sum below. Time runs horizontally; amplitudes are normalized separately for each row.

Harmonics, intervals and settings

The root is the starting note. Choosing a chord changes the semitone intervals above it. Notes 1, 2 and so on are ordered from low to high.

Each note contains partials at integer multiples of its frequency. The harmonic count N includes the fundamental (harmonic 1). At N=1, each note is a sine wave. Increasing N adds higher-frequency components and changes the waveform.

Increasing the decay exponent α weakens higher harmonics. This is a simplified timbre model, not a reproduction of a particular instrument.

All harmonic rows use the same frequency axis. Stem position gives frequency and stem height is 1/nα. Numbers below the stems are harmonic orders. The key strip shows semitones above the root, not a physical black-and-white piano layout.

Show every note and harmonic
Equations and model limits

For root f₀ and semitone offset s, f = f₀ × 2s/12. Harmonic frequency is n f and relative amplitude is Aₙ = 1/nα . All initial phases are zero: y(t) = Σₖ Σₙ Aₙ sin(2π n fₖ t). Root frequencies retain the original page's two-decimal values.

The sum is normalized by ΣₖΣₙAₙ for display and playback. Device volume also affects loudness. Sound ends after 3 seconds, and stops on setting changes, guide open/close, hidden tabs or leaving the page. Returning never starts playback automatically.

The highlighted difference is the smallest frequency separation between partials belonging to different notes, using harmonics 1 through N. Amplitudes are not weighted; pairs within the same note are excluded. For two nearby sine waves, this difference gives the beat rate. It does not rate a whole chord's beating or pleasantness.

An equal-tempered major triad is not exactly 4:5:6. This tool has no just-intonation switch or arbitrary frequency inputs. Non-octave equal-tempered ratios are irrational, so these multi-note sums have no exact common period. Single-tone period:

References: UNSW: notes, frequencies and tuning, UNSW: beats and interference, MDN: Web Audio implementation.

Original numerical readouts and legacy heuristic
Root note440.00 Hz
Number of notes3
Frequency ratio: note 2 / note 11.2599
Frequency difference: note 2 − note 1114.37 Hz

Original heuristic value: . This custom heuristic uses numerator + denominator for approximate ratios with denominator ≤16 and ratio error <0.02. Retained for numerical compatibility, it ignores timbre, register, loudness and listening background. It is not a validated score of perceived consonance.

The original beat-frequency readout is retained as the frequency difference between notes 2 and 1. A difference can be calculated even for widely spaced frequencies, but it need not be heard as slow beating.

Try it in 30 seconds

Lower the middle note by a semitone.

① Choose major, then ② minor. Compare note 2: at the default A4 root, 554.37 → 523.25 Hz. Try the steps when ready.

This guide is silent. Settings change only when you press a step button.

💬 Conversation about Chords and Harmonics

🙋
Why does a major triad (C-E-G) sound so "pleasant"? I've never really thought about it beyond just feeling that way.
🎓
Because the frequency ratios are close to small integer ratios. In just intonation, C-E-G is 4:5:6, so many overtones line up. The brain tends to perceive regular repeating frequency patterns as consonant; that is the psychoacoustics behind the sound.
🙋
What's the difference between "equal temperament" and "just intonation"?
🎓
Just intonation uses exact integer frequency ratios such as 4:5:6. It produces very smooth consonance, but the ratios shift when you transpose. Equal temperament divides the octave into 12 equal ratios of $2^{1/12}$, so intervals stay consistent in every key, although each consonance is slightly detuned from its pure ratio.
🙋
I hear the term "beats" in piano tuning—how does that work?
🎓
When two tones have frequencies $f_1$ and $f_2$, their combined waveform varies in amplitude at $|f_1-f_2|$ Hz. For example, 440 Hz and 443 Hz produce three beats per second. Tuners adjust string tension until those beats disappear or reach the desired slow rate; around 2 to 3 Hz is especially easy to hear.
🙋
What causes differences in timbre? A piano and a violin playing the same "A (440 Hz)" sound completely different, right?
🎓
Their harmonic structures are different. Even with the same 440 Hz fundamental, a violin has rich overtones at 880, 1320, 1760 Hz and beyond, often with strong odd harmonics. A flute has weaker upper harmonics and sounds purer. A clarinet emphasizes odd harmonics because of its closed-pipe behavior. Scientifically, timbre is largely the shape of the harmonic spectrum.

Frequently Asked Questions

Set 1–10 harmonics and a shared amplitude rule 1/n^α. Individual harmonic amplitudes and phases cannot be set, so this is not a realistic instrument synthesis tool.
This page fixes note intervals to equal temperament and does not independently tune two frequencies. Explore two close frequencies in the acoustic beats simulator.
This page calculates equal temperament only. A just perfect fifth is 3:2; the equal-tempered fifth 2^(7/12) is close but not identical.
The waveform is a sum of sinusoids and changes with harmonic count and decay exponent. Display sampling affects the plotted line; it does not measure audio noise.

What is Music Chord Harmonics?

Music Chord Harmonics is a fundamental topic in engineering and applied physics. This interactive simulator lets you explore the key behaviors and relationships by directly manipulating parameters and observing real-time results.

By combining numerical computation with visual feedback, the simulator bridges the gap between abstract theory and physical intuition — making it an effective learning tool for students and a rapid-verification tool for practicing engineers.

Physical Model & Key Equations

The simulator is based on the governing equations behind Music Chord Harmonics Visualizer. Understanding these equations is key to interpreting the results correctly.

Each parameter in the equations corresponds to a slider in the control panel. Moving a slider changes the equation's solution in real time, helping you build a direct connection between mathematical expressions and physical behavior.

Real-World Applications

Engineering Design: The concepts behind Music Chord Harmonics Visualizer are applied across mechanical, structural, electrical, and fluid engineering disciplines. This tool provides a quick way to estimate design parameters and sensitivity before committing to full CAE analysis.

Education & Research: Widely used in engineering curricula to connect theory with numerical computation. Also serves as a first-pass validation tool in research settings.

CAE Workflow Integration: Before running finite element (FEM) or computational fluid dynamics (CFD) simulations, engineers use simplified models like this to establish physical scale, identify dominant parameters, and define realistic boundary conditions.

Common Misconceptions and Points of Caution

Model assumptions: The mathematical model used here relies on simplifying assumptions such as linearity, homogeneity, and isotropy. Always verify that your real system satisfies these assumptions before applying results directly to design decisions.

Units and scale: Many calculation errors arise from unit conversion mistakes or order-of-magnitude errors. Pay close attention to the units shown next to each parameter input.

Validating results: Always sanity-check simulator output against physical intuition or hand calculations. If a result seems unexpected, review your input parameters or verify with an independent method.

How to Use

  1. Select a root note and chord type. Note intervals use equal temperament.
  2. Set 1–10 harmonics and decay exponent α; harmonic amplitude follows 1/n^α.
  3. Compare waveform and spectrum with the first two notes’ frequency difference and ratio. The consonance score is a heuristic.

Worked Example

Select A4=440 Hz, a major triad, 5 harmonics and decay exponent 1.0. The first two notes are 440.0 Hz and about 554.4 Hz; their difference is about 114.4 Hz and their ratio is 1:1.2599. For a single note, the fundamental period is about 2.27 ms.

Practical Notes

  1. Intervals use equal temperament; just intonation and individual frequencies or phases cannot be selected.
  2. Integer harmonics with amplitude 1/n^α are a simplified model; real instrument decay and inharmonicity are not modeled.
  3. Perceived consonance also depends on timbre and listening conditions; the score alone does not determine it.