Lesson 6 of 15

Chord Notes

Chords

A chord is multiple notes played simultaneously. Chords are defined by semitone intervals from a root note.

Common Triads

TypeIntervalsCharacter
Major[0, 4, 7]bright, happy
Minor[0, 3, 7]dark, melancholic

Seventh Chords

TypeIntervalsCharacter
Dominant 7th[0, 4, 7, 10]tense, jazzy
Major 7th[0, 4, 7, 11]smooth, dreamy

Example: C Major (root = MIDI 60)

root + 0 = 60 → C4
root + 4 = 64 → E4
root + 7 = 67 → G4

Your Task

Implement chordNotes(root, type) that returns an array of MIDI notes.

Run your code to hear a C major chord ring out.

Web Audio API loading...
Loading...
Click "Run" to execute your code.