{
    "slug": "harmonizing-a-melody",
    "title": "Harmonizing a Melody: How to Choose the Chords",
    "dek": "Harmonizing a melody means choosing a chord for each strong beat that contains the melody note. This worked example uses the opening of Ode to Joy in C.",
    "topic": "harmony",
    "topic_name": "Harmony",
    "tags": [
        "harmonization",
        "melody",
        "bass line"
    ],
    "level": "intermediate",
    "author": {
        "name": "Yunus Emre Vurgun",
        "url": "https://yunusemrevurgun.com"
    },
    "date": "2026-11-07",
    "updated": null,
    "words": 1393,
    "reading_time_minutes": 7,
    "url": "https://musics.name/articles/harmonizing-a-melody/",
    "markdown_url": "https://musics.name/articles/harmonizing-a-melody.md",
    "feed": {
        "rss": "https://musics.name/feed.xml",
        "json": "https://musics.name/feed.json"
    },
    "headings": [
        {
            "level": 2,
            "id": "find-the-key-and-mark-the-phrase-endings",
            "text": "Find the key and mark the phrase endings"
        },
        {
            "level": 2,
            "id": "choose-a-chord-for-each-strong-beat",
            "text": "Choose a chord for each strong beat"
        },
        {
            "level": 2,
            "id": "two-harmonizations-and-why-one-is-better",
            "text": "Two harmonizations, and why one is better"
        },
        {
            "level": 2,
            "id": "write-the-bass-as-a-line",
            "text": "Write the bass as a line"
        },
        {
            "level": 2,
            "id": "the-check-that-catches-most-errors",
            "text": "The check that catches most errors"
        },
        {
            "level": 2,
            "id": "where-this-misleads-people",
            "text": "Where this misleads people"
        },
        {
            "level": 2,
            "id": "what-to-do-with-it",
            "text": "What to do with it"
        }
    ],
    "faq": [
        {
            "q": "How do you harmonize a melody?",
            "a": "Choose a chord for each strong beat that contains the melody note, or treat the note as a deliberate non-chord tone. Mark the phrase endings with a dominant or tonic chord, write a bass line that moves against the melody, and check the downbeats for parallel fifths and octaves."
        },
        {
            "q": "Can a melody note be left out of the chord?",
            "a": "Yes, on a weak beat or as a passing or neighbour tone that moves by step. On a strong beat it needs a clear reason, such as a suspension, an appoggiatura or a deliberate extension."
        },
        {
            "q": "How many chords should a harmonization use?",
            "a": "Usually one chord per bar at first. A slow harmonic rhythm lets each chord support its melody notes, and a new chord on every beat tends to make a simple tune busy."
        }
    ],
    "related": [
        {
            "slug": "cadences-and-phrase-endings",
            "title": "Cadences: How Phrases End in Tonal Music",
            "url": "https://musics.name/articles/cadences-and-phrase-endings/"
        },
        {
            "slug": "diatonic-chords-in-major-and-minor",
            "title": "Diatonic Chords in Major and Minor Keys Explained",
            "url": "https://musics.name/articles/diatonic-chords-in-major-and-minor/"
        },
        {
            "slug": "roman-numeral-analysis",
            "title": "Roman Numeral Analysis: How to Label a Chord Progression",
            "url": "https://musics.name/articles/roman-numeral-analysis/"
        },
        {
            "slug": "how-to-write-a-melody-over-chords",
            "title": "How to Write a Melody Over Chords, Note by Note",
            "url": "https://musics.name/articles/how-to-write-a-melody-over-chords/"
        }
    ],
    "markdown": "To harmonize a melody, choose a chord for each strong beat that contains the melody note, or treat that note as a deliberate non-chord tone. Start with the key, mark the points where the tune comes to rest, and then write the bass, which should move against the melody and avoid parallel perfect intervals. The method is the same for a folk song and a chorale, and the example below uses the opening of Beethoven's *Ode to Joy*, which is in the public domain.\n\n## Find the key and mark the phrase endings\n\nBeethoven's melody is written in D major in the Ninth Symphony. Transposed into C, the opening is E E F G G F E D C C D E E D D. The first phrase, E E F G G F E D, ends on D. The second, C C D E E D D, also ends on D. In C major, D is the fifth of G, so both endings call for a G chord underneath.\n\n[keys]E4 E4 F4 G4 G4 F4 E4 D4[/keys]\n\nRead in 4/4, the excerpt occupies four bars. The plan is one chord per bar, which is a slow harmonic rhythm for a tune of this kind. Two phrase endings on D over G are a pause, not a close, so the harmony has to make the second phrase sound different from the first.\n\n## Choose a chord for each strong beat\n\nA melody note belongs to every chord that contains it, so E belongs to C major, A minor and E minor. The choice of chord is therefore a choice about which chord a note should support, not about which chord it can belong to. Each bar gets the chord that fits its strong notes, and the weak notes can be passing tones.\n\n| Bar | Melody | Chord | How each melody note is used |\n| --- | --- | --- | --- |\n| 1 | E E F G | C | E and E are the third of C, F is a passing tone, and G is the fifth |\n| 2 | G F E D | G7 | G is the root, F is the seventh, E passes down to D, and D is the fifth |\n| 3 | C C D E | Am | C is the third of A minor, D passes, and E is the fifth |\n| 4 | E D D | G7 | E is not in G7 and falls by step to D, and D is the fifth |\n\nThe table gives the plan for the second harmonization, which is the one recommended below. Bar 2 uses G7 rather than plain G because the F becomes a chord tone, the seventh of the chord. Bar 4 is the second phrase ending, and its E is the only melody note that is not in its chord. It falls by step to D, so it sounds as a sixth above the bass that resolves down to the fifth.\n\n## Two harmonizations, and why one is better\n\nThe first harmonization uses C, G7, C and G7, one chord per bar, and it is correct at every strong beat. The second uses C, G7, A minor and G7. The two differ only in bar 3, where the plain tonic becomes the vi chord.\n\n[keys]C4+E4+G4 G3+B3+D4+F4 C4+E4+G4 G3+B3+D4+F4[/keys]\n\n[keys]C3+E4+G4 B2+D4+F4+G4 A2+C4+E4 G2+B3+D4+F4[/keys]\n\nThe first harmonization is not wrong. Its C in bar 3 is a root, and the chord is steady, which is a fair choice for a tune that wants to sound settled. The objection is that the first harmonization does nothing with the second phrase.\n\nThe second is the better choice. The first has the same two chords for both phrases, so the melody's two halves, which differ in their notes, sound like one idea played twice. The second keeps the first phrase unchanged and gives the second phrase its own chord, A minor, on the strong beats of bar 3. Over that chord the C and E are the third and fifth, which suit the melody's C C D E well.\n\nThe move from G7 to A minor is the deceptive progression, the dominant followed by vi instead of I. Here it moves the phrase on rather than closing it, which is what the second phrase needs. The melody's last note, D, returns over G7 and ends the excerpt as a pause.\n\n## Write the bass as a line\n\nThe second harmonization has a bass line of C, B, A, G, falling by step. Each bass note is the root or a chord tone: C is the root of the tonic, B is the third of G7 in first inversion, A is the root of A minor, and G is the root of G7. The B in bar 2 is a deliberate choice, because it keeps the bass off the melody's G at the same moment and gives the line its step. A bass that moves by step is also easy to sing, which makes it a useful test of the harmonization before any chord is played.\n\nLook at the bass against the melody at each downbeat. The melody starts on E, G, C and E, and the bass starts on C, B, A and G. The intervals are a compound third, a compound sixth, a compound third and a compound sixth. None is a fifth or an octave, so the bass creates no parallel or hidden perfect intervals on the strong beats. Between bars 1 and 2 the bass falls while the melody rises. Between bars 2 and 3 both lines fall, but the intervals stay imperfect, so the similar motion creates no problem. Between bars 3 and 4 the bass falls while the melody rises from C to E, which keeps the two lines distinct.\n\n## The check that catches most errors\n\nOnce the chords and bass are written, check each pair of chords by looking at the two outer voices. If both voices move in the same direction and land on a fifth or an octave, one note has to change. The check takes a minute. Chord changes on the bar line are a common place for the error, because the bass moves while the top voice holds.\n\nThen sing the bass alone and the melody alone. The bass should have a shape you would want to sing, and the melody should still sound like the tune when the chords are not present. If the melody loses its outline when the harmony is added, the chords are too busy for the tune.\n\n## Where this misleads people\n\nThe first error is to treat every melody note as a chord tone. Weak-beat notes often pass, and passing notes are not a fault. The error is a non-chord tone on a strong beat with no reason for being there, such as an E over G that does not fall to D.\n\nThe second error is to start each phrase on the tonic. The second phrase here begins on A minor, and the phrase still makes sense. The tonic is the expected chord, but a phrase that begins on another chord is common, and the melody can carry it.\n\nThe third error is to change chords on every beat. Faster harmonic rhythm is not better. A new chord on every beat leaves no time for any one of them to support its melody note, and the tune loses its outline.\n\n## What to do with it\n\nTake a folk tune you know well and harmonize it in four bars. Write the melody with its phrase endings marked, choose one chord per bar, and label every melody note as a chord tone or a non-chord tone. Then write a bass line that moves against the melody, check the downbeats for parallel fifths and octaves, and play the result.\n\nThe [cadences article](/articles/cadences-and-phrase-endings/) explains why a dominant under a phrase ending sounds like a pause. The [diatonic chords article](/articles/diatonic-chords-in-major-and-minor/) lists the chords you can choose from in a major key, and [roman numeral analysis](/articles/roman-numeral-analysis/) shows how to write the plan so it transposes. For the reverse task, writing a melody over a chord sequence, the [melody-writing article](/articles/how-to-write-a-melody-over-chords/) covers the same relations from the other side.",
    "html": "<p>To harmonize a melody, choose a chord for each strong beat that contains the melody note, or treat that note as a deliberate non-chord tone. Start with the key, mark the points where the tune comes to rest, and then write the bass, which should move against the melody and avoid parallel perfect intervals. The method is the same for a folk song and a chorale, and the example below uses the opening of Beethoven’s <em>Ode to Joy</em>, which is in the public domain.</p>\n<h2 id=\"find-the-key-and-mark-the-phrase-endings\"><a class=\"h-anchor\" href=\"#find-the-key-and-mark-the-phrase-endings\" aria-hidden=\"true\" tabindex=\"-1\">#</a>Find the key and mark the phrase endings</h2>\n<p>Beethoven’s melody is written in D major in the Ninth Symphony. Transposed into C, the opening is E E F G G F E D C C D E E D D. The first phrase, E E F G G F E D, ends on D. The second, C C D E E D D, also ends on D. In C major, D is the fifth of G, so both endings call for a G chord underneath.</p>\n<figure class=\"ex\"><div class=\"ex-staff\"><svg class=\"score\" viewBox=\"-0.1 -1.992 38.44 8.492\" width=\"384.4\" height=\"84.92\" style=\"--w:38.44\" role=\"img\" aria-labelledby=\"sce3dcc7\" data-width=\"38.44\" data-vx=\"-0.1\" data-top=\"-1.992\" data-height=\"8.492\"><title id=\"sce3dcc7\">Music example: E4, then E4, then F4, then G4, then G4, then F4, then E4, then D4</title><path class=\"staff\" d=\"M0.2 0H37.14 M0.2 1H37.14 M0.2 2H37.14 M0.2 3H37.14 M0.2 4H37.14\"/><path class=\"barline\" d=\"M0.2 0V4 M37.14 0V4\"/><use href=\"#g-gClef\" x=\"0.7\" y=\"3\" class=\"clef\"/><g class=\"nt\" data-i=\"0\" data-x=\"4.9\"><use href=\"#g-noteheadBlack\" x=\"4.9\" y=\"4\" class=\"nh\" data-pc=\"4\" style=\"--pitch:var(--p4)\"/><path class=\"stem\" d=\"M6.02 3.832V0.5\"/></g><g class=\"nt\" data-i=\"1\" data-x=\"8.98\"><use href=\"#g-noteheadBlack\" x=\"8.98\" y=\"4\" class=\"nh\" data-pc=\"4\" style=\"--pitch:var(--p4)\"/><path class=\"stem\" d=\"M10.1 3.832V0.5\"/></g><g class=\"nt\" data-i=\"2\" data-x=\"13.06\"><use href=\"#g-noteheadBlack\" x=\"13.06\" y=\"3.5\" class=\"nh\" data-pc=\"5\" style=\"--pitch:var(--p11)\"/><path class=\"stem\" d=\"M14.18 3.332V0\"/></g><g class=\"nt\" data-i=\"3\" data-x=\"17.14\"><use href=\"#g-noteheadBlack\" x=\"17.14\" y=\"3\" class=\"nh\" data-pc=\"7\" style=\"--pitch:var(--p1)\"/><path class=\"stem\" d=\"M18.26 2.832V-0.5\"/></g><g class=\"nt\" data-i=\"4\" data-x=\"21.22\"><use href=\"#g-noteheadBlack\" x=\"21.22\" y=\"3\" class=\"nh\" data-pc=\"7\" style=\"--pitch:var(--p1)\"/><path class=\"stem\" d=\"M22.34 2.832V-0.5\"/></g><g class=\"nt\" data-i=\"5\" data-x=\"25.3\"><use href=\"#g-noteheadBlack\" x=\"25.3\" y=\"3.5\" class=\"nh\" data-pc=\"5\" style=\"--pitch:var(--p11)\"/><path class=\"stem\" d=\"M26.42 3.332V0\"/></g><g class=\"nt\" data-i=\"6\" data-x=\"29.38\"><use href=\"#g-noteheadBlack\" x=\"29.38\" y=\"4\" class=\"nh\" data-pc=\"4\" style=\"--pitch:var(--p4)\"/><path class=\"stem\" d=\"M30.5 3.832V0.5\"/></g><g class=\"nt\" data-i=\"7\" data-x=\"33.46\"><use href=\"#g-noteheadBlack\" x=\"33.46\" y=\"4.5\" class=\"nh\" data-pc=\"2\" style=\"--pitch:var(--p2)\"/><path class=\"stem\" d=\"M34.58 4.332V1\"/></g><rect class=\"playhead\" x=\"0\" y=\"-1.992\" width=\"0.14\" height=\"8.492\"/></svg></div><figcaption class=\"ex-bar\"><button type=\"button\" class=\"ex-play\" data-notes=\"E4 E4 F4 G4 G4 F4 E4 D4\" data-bpm=\"96\" aria-pressed=\"false\" aria-label=\"Play example: E4 E4 F4 G4 G4 F4 E4 D4\"><svg class=\"ico ico-play\" aria-hidden=\"true\" focusable=\"false\"><use href=\"/assets/img/icons.svg?v=1791726356#i-play\"/></svg><svg class=\"ico ico-stop\" aria-hidden=\"true\" focusable=\"false\"><use href=\"/assets/img/icons.svg?v=1791726356#i-stop\"/></svg><span class=\"ex-label\">Play</span></button><span class=\"ex-names\" aria-hidden=\"true\">E4 E4 F4 G4 G4 F4 E4 D4</span></figcaption></figure>\n<p>Read in 4/4, the excerpt occupies four bars. The plan is one chord per bar, which is a slow harmonic rhythm for a tune of this kind. Two phrase endings on D over G are a pause, not a close, so the harmony has to make the second phrase sound different from the first.</p>\n<h2 id=\"choose-a-chord-for-each-strong-beat\"><a class=\"h-anchor\" href=\"#choose-a-chord-for-each-strong-beat\" aria-hidden=\"true\" tabindex=\"-1\">#</a>Choose a chord for each strong beat</h2>\n<p>A melody note belongs to every chord that contains it, so E belongs to C major, A minor and E minor. The choice of chord is therefore a choice about which chord a note should support, not about which chord it can belong to. Each bar gets the chord that fits its strong notes, and the weak notes can be passing tones.</p>\n<div class=\"table-wrap\"><table><thead><tr><th>Bar</th><th>Melody</th><th>Chord</th><th>How each melody note is used</th></tr></thead><tbody><tr><td>1</td><td>E E F G</td><td>C</td><td>E and E are the third of C, F is a passing tone, and G is the fifth</td></tr><tr><td>2</td><td>G F E D</td><td>G7</td><td>G is the root, F is the seventh, E passes down to D, and D is the fifth</td></tr><tr><td>3</td><td>C C D E</td><td>Am</td><td>C is the third of A minor, D passes, and E is the fifth</td></tr><tr><td>4</td><td>E D D</td><td>G7</td><td>E is not in G7 and falls by step to D, and D is the fifth</td></tr></tbody></table></div>\n<p>The table gives the plan for the second harmonization, which is the one recommended below. Bar 2 uses G7 rather than plain G because the F becomes a chord tone, the seventh of the chord. Bar 4 is the second phrase ending, and its E is the only melody note that is not in its chord. It falls by step to D, so it sounds as a sixth above the bass that resolves down to the fifth.</p>\n<h2 id=\"two-harmonizations-and-why-one-is-better\"><a class=\"h-anchor\" href=\"#two-harmonizations-and-why-one-is-better\" aria-hidden=\"true\" tabindex=\"-1\">#</a>Two harmonizations, and why one is better</h2>\n<p>The first harmonization uses C, G7, C and G7, one chord per bar, and it is correct at every strong beat. The second uses C, G7, A minor and G7. The two differ only in bar 3, where the plain tonic becomes the vi chord.</p>\n<figure class=\"ex\"><div class=\"ex-staff\"><svg class=\"score\" viewBox=\"-0.1 -1.992 22.12 10.492\" width=\"254.38\" height=\"120.658\" style=\"--w:22.12\" role=\"img\" aria-labelledby=\"sc31c7cf\" data-width=\"22.12\" data-vx=\"-0.1\" data-top=\"-1.992\" data-height=\"10.492\"><title id=\"sc31c7cf\">Music example: C4, E4 and G4 together, then G3, B3, D4 and F4 together, then C4, E4 and G4 together, then G3, B3, D4 and F4 together</title><path class=\"staff\" d=\"M0.2 0H20.82 M0.2 1H20.82 M0.2 2H20.82 M0.2 3H20.82 M0.2 4H20.82\"/><path class=\"barline\" d=\"M0.2 0V4 M20.82 0V4\"/><use href=\"#g-gClef\" x=\"0.7\" y=\"3\" class=\"clef\"/><g class=\"nt\" data-i=\"0\" data-x=\"4.9\"><path class=\"ledger\" d=\"M4.5 5H6.48\"/><use href=\"#g-noteheadBlack\" x=\"4.9\" y=\"5\" class=\"nh\" data-pc=\"0\" style=\"--pitch:var(--p0)\"/><use href=\"#g-noteheadBlack\" x=\"4.9\" y=\"4\" class=\"nh\" data-pc=\"4\" style=\"--pitch:var(--p4)\"/><use href=\"#g-noteheadBlack\" x=\"4.9\" y=\"3\" class=\"nh\" data-pc=\"7\" style=\"--pitch:var(--p1)\"/><path class=\"stem\" d=\"M6.02 4.832V-0.5\"/></g><g class=\"nt\" data-i=\"1\" data-x=\"8.98\"><path class=\"ledger\" d=\"M8.58 5H10.56 M8.58 6H10.56 M8.58 7H10.56 M8.58 5H10.56 M8.58 6H10.56\"/><use href=\"#g-noteheadBlack\" x=\"8.98\" y=\"6.5\" class=\"nh\" data-pc=\"7\" style=\"--pitch:var(--p1)\"/><use href=\"#g-noteheadBlack\" x=\"8.98\" y=\"5.5\" class=\"nh\" data-pc=\"11\" style=\"--pitch:var(--p5)\"/><use href=\"#g-noteheadBlack\" x=\"8.98\" y=\"4.5\" class=\"nh\" data-pc=\"2\" style=\"--pitch:var(--p2)\"/><use href=\"#g-noteheadBlack\" x=\"8.98\" y=\"3.5\" class=\"nh\" data-pc=\"5\" style=\"--pitch:var(--p11)\"/><path class=\"stem\" d=\"M10.1 6.332V0\"/></g><g class=\"nt\" data-i=\"2\" data-x=\"13.06\"><path class=\"ledger\" d=\"M12.66 5H14.64\"/><use href=\"#g-noteheadBlack\" x=\"13.06\" y=\"5\" class=\"nh\" data-pc=\"0\" style=\"--pitch:var(--p0)\"/><use href=\"#g-noteheadBlack\" x=\"13.06\" y=\"4\" class=\"nh\" data-pc=\"4\" style=\"--pitch:var(--p4)\"/><use href=\"#g-noteheadBlack\" x=\"13.06\" y=\"3\" class=\"nh\" data-pc=\"7\" style=\"--pitch:var(--p1)\"/><path class=\"stem\" d=\"M14.18 4.832V-0.5\"/></g><g class=\"nt\" data-i=\"3\" data-x=\"17.14\"><path class=\"ledger\" d=\"M16.74 5H18.72 M16.74 6H18.72 M16.74 7H18.72 M16.74 5H18.72 M16.74 6H18.72\"/><use href=\"#g-noteheadBlack\" x=\"17.14\" y=\"6.5\" class=\"nh\" data-pc=\"7\" style=\"--pitch:var(--p1)\"/><use href=\"#g-noteheadBlack\" x=\"17.14\" y=\"5.5\" class=\"nh\" data-pc=\"11\" style=\"--pitch:var(--p5)\"/><use href=\"#g-noteheadBlack\" x=\"17.14\" y=\"4.5\" class=\"nh\" data-pc=\"2\" style=\"--pitch:var(--p2)\"/><use href=\"#g-noteheadBlack\" x=\"17.14\" y=\"3.5\" class=\"nh\" data-pc=\"5\" style=\"--pitch:var(--p11)\"/><path class=\"stem\" d=\"M18.26 6.332V0\"/></g><rect class=\"playhead\" x=\"0\" y=\"-1.992\" width=\"0.14\" height=\"10.492\"/></svg></div><figcaption class=\"ex-bar\"><button type=\"button\" class=\"ex-play\" data-notes=\"C4+E4+G4 G3+B3+D4+F4 C4+E4+G4 G3+B3+D4+F4\" data-bpm=\"96\" aria-pressed=\"false\" aria-label=\"Play example: C4+E4+G4 G3+B3+D4+F4 C4+E4+G4 G3+B3+D4+F4\"><svg class=\"ico ico-play\" aria-hidden=\"true\" focusable=\"false\"><use href=\"/assets/img/icons.svg?v=1791726356#i-play\"/></svg><svg class=\"ico ico-stop\" aria-hidden=\"true\" focusable=\"false\"><use href=\"/assets/img/icons.svg?v=1791726356#i-stop\"/></svg><span class=\"ex-label\">Play</span></button><span class=\"ex-names\" aria-hidden=\"true\">C4+E4+G4 G3+B3+D4+F4 C4+E4+G4 G3+B3+D4+F4</span></figcaption></figure>\n<figure class=\"ex\"><div class=\"ex-staff\"><svg class=\"score\" viewBox=\"-2 -1.992 24.02 21.992\" width=\"276.23\" height=\"252.908\" style=\"--w:24.02\" role=\"img\" aria-labelledby=\"scde82c3\" data-width=\"24.02\" data-vx=\"-2\" data-top=\"-1.992\" data-height=\"21.992\"><title id=\"scde82c3\">Music example: C3, E4 and G4 together, then B2, D4, F4 and G4 together, then A2, C4 and E4 together, then G2, B3, D4 and F4 together</title><g class=\"brace\" transform=\"translate(-0.2 0) scale(-1.7 3.875) translate(0 0)\"><use href=\"#g-brace\" x=\"0\" y=\"4\"/></g><path class=\"staff\" d=\"M0.2 0H20.82 M0.2 1H20.82 M0.2 2H20.82 M0.2 3H20.82 M0.2 4H20.82 M0.2 11.5H20.82 M0.2 12.5H20.82 M0.2 13.5H20.82 M0.2 14.5H20.82 M0.2 15.5H20.82\"/><path class=\"barline\" d=\"M0.2 0V15.5 M20.82 0V15.5\"/><use href=\"#g-gClef\" x=\"0.7\" y=\"3\" class=\"clef\"/><use href=\"#g-fClef\" x=\"0.7\" y=\"12.5\" class=\"clef\"/><g class=\"nt\" data-i=\"0\" data-x=\"4.9\"><use href=\"#g-noteheadBlack\" x=\"4.9\" y=\"4\" class=\"nh\" data-pc=\"4\" style=\"--pitch:var(--p4)\"/><use href=\"#g-noteheadBlack\" x=\"4.9\" y=\"3\" class=\"nh\" data-pc=\"7\" style=\"--pitch:var(--p1)\"/><path class=\"stem\" d=\"M6.02 3.832V-0.5\"/><use href=\"#g-noteheadBlack\" x=\"4.9\" y=\"14\" class=\"nh\" data-pc=\"0\" style=\"--pitch:var(--p0)\"/><path class=\"stem\" d=\"M6.02 13.832V10.5\"/></g><g class=\"nt\" data-i=\"1\" data-x=\"8.98\"><use href=\"#g-noteheadBlack\" x=\"8.98\" y=\"4.5\" class=\"nh\" data-pc=\"2\" style=\"--pitch:var(--p2)\"/><use href=\"#g-noteheadBlack\" x=\"8.98\" y=\"3.5\" class=\"nh\" data-pc=\"5\" style=\"--pitch:var(--p11)\"/><use href=\"#g-noteheadBlack\" x=\"10.04\" y=\"3\" class=\"nh\" data-pc=\"7\" style=\"--pitch:var(--p1)\"/><path class=\"stem\" d=\"M10.1 4.332V-0.5\"/><use href=\"#g-noteheadBlack\" x=\"8.98\" y=\"14.5\" class=\"nh\" data-pc=\"11\" style=\"--pitch:var(--p5)\"/><path class=\"stem\" d=\"M10.1 14.332V11\"/></g><g class=\"nt\" data-i=\"2\" data-x=\"13.06\"><path class=\"ledger\" d=\"M12.66 5H14.64\"/><use href=\"#g-noteheadBlack\" x=\"13.06\" y=\"5\" class=\"nh\" data-pc=\"0\" style=\"--pitch:var(--p0)\"/><use href=\"#g-noteheadBlack\" x=\"13.06\" y=\"4\" class=\"nh\" data-pc=\"4\" style=\"--pitch:var(--p4)\"/><path class=\"stem\" d=\"M14.18 4.832V0.5\"/><use href=\"#g-noteheadBlack\" x=\"13.06\" y=\"15\" class=\"nh\" data-pc=\"9\" style=\"--pitch:var(--p3)\"/><path class=\"stem\" d=\"M14.18 14.832V11.5\"/></g><g class=\"nt\" data-i=\"3\" data-x=\"17.14\"><use href=\"#g-noteheadBlack\" x=\"17.14\" y=\"4.5\" class=\"nh\" data-pc=\"2\" style=\"--pitch:var(--p2)\"/><use href=\"#g-noteheadBlack\" x=\"17.14\" y=\"3.5\" class=\"nh\" data-pc=\"5\" style=\"--pitch:var(--p11)\"/><path class=\"stem\" d=\"M18.26 4.332V0\"/><use href=\"#g-noteheadBlack\" x=\"17.14\" y=\"15.5\" class=\"nh\" data-pc=\"7\" style=\"--pitch:var(--p1)\"/><use href=\"#g-noteheadBlack\" x=\"17.14\" y=\"11\" class=\"nh\" data-pc=\"11\" style=\"--pitch:var(--p5)\"/><path class=\"stem\" d=\"M17.2 11.168V19\"/></g><rect class=\"playhead\" x=\"0\" y=\"-1.992\" width=\"0.14\" height=\"21.992\"/></svg></div><figcaption class=\"ex-bar\"><button type=\"button\" class=\"ex-play\" data-notes=\"C3+E4+G4 B2+D4+F4+G4 A2+C4+E4 G2+B3+D4+F4\" data-bpm=\"96\" aria-pressed=\"false\" aria-label=\"Play example: C3+E4+G4 B2+D4+F4+G4 A2+C4+E4 G2+B3+D4+F4\"><svg class=\"ico ico-play\" aria-hidden=\"true\" focusable=\"false\"><use href=\"/assets/img/icons.svg?v=1791726356#i-play\"/></svg><svg class=\"ico ico-stop\" aria-hidden=\"true\" focusable=\"false\"><use href=\"/assets/img/icons.svg?v=1791726356#i-stop\"/></svg><span class=\"ex-label\">Play</span></button><span class=\"ex-names\" aria-hidden=\"true\">C3+E4+G4 B2+D4+F4+G4 A2+C4+E4 G2+B3+D4+F4</span></figcaption></figure>\n<p>The first harmonization is not wrong. Its C in bar 3 is a root, and the chord is steady, which is a fair choice for a tune that wants to sound settled. The objection is that the first harmonization does nothing with the second phrase.</p>\n<p>The second is the better choice. The first has the same two chords for both phrases, so the melody’s two halves, which differ in their notes, sound like one idea played twice. The second keeps the first phrase unchanged and gives the second phrase its own chord, A minor, on the strong beats of bar 3. Over that chord the C and E are the third and fifth, which suit the melody’s C C D E well.</p>\n<p>The move from G7 to A minor is the deceptive progression, the dominant followed by vi instead of I. Here it moves the phrase on rather than closing it, which is what the second phrase needs. The melody’s last note, D, returns over G7 and ends the excerpt as a pause.</p>\n<h2 id=\"write-the-bass-as-a-line\"><a class=\"h-anchor\" href=\"#write-the-bass-as-a-line\" aria-hidden=\"true\" tabindex=\"-1\">#</a>Write the bass as a line</h2>\n<p>The second harmonization has a bass line of C, B, A, G, falling by step. Each bass note is the root or a chord tone: C is the root of the tonic, B is the third of G7 in first inversion, A is the root of A minor, and G is the root of G7. The B in bar 2 is a deliberate choice, because it keeps the bass off the melody’s G at the same moment and gives the line its step. A bass that moves by step is also easy to sing, which makes it a useful test of the harmonization before any chord is played.</p>\n<p>Look at the bass against the melody at each downbeat. The melody starts on E, G, C and E, and the bass starts on C, B, A and G. The intervals are a compound third, a compound sixth, a compound third and a compound sixth. None is a fifth or an octave, so the bass creates no parallel or hidden perfect intervals on the strong beats. Between bars 1 and 2 the bass falls while the melody rises. Between bars 2 and 3 both lines fall, but the intervals stay imperfect, so the similar motion creates no problem. Between bars 3 and 4 the bass falls while the melody rises from C to E, which keeps the two lines distinct.</p>\n<h2 id=\"the-check-that-catches-most-errors\"><a class=\"h-anchor\" href=\"#the-check-that-catches-most-errors\" aria-hidden=\"true\" tabindex=\"-1\">#</a>The check that catches most errors</h2>\n<p>Once the chords and bass are written, check each pair of chords by looking at the two outer voices. If both voices move in the same direction and land on a fifth or an octave, one note has to change. The check takes a minute. Chord changes on the bar line are a common place for the error, because the bass moves while the top voice holds.</p>\n<p>Then sing the bass alone and the melody alone. The bass should have a shape you would want to sing, and the melody should still sound like the tune when the chords are not present. If the melody loses its outline when the harmony is added, the chords are too busy for the tune.</p>\n<h2 id=\"where-this-misleads-people\"><a class=\"h-anchor\" href=\"#where-this-misleads-people\" aria-hidden=\"true\" tabindex=\"-1\">#</a>Where this misleads people</h2>\n<p>The first error is to treat every melody note as a chord tone. Weak-beat notes often pass, and passing notes are not a fault. The error is a non-chord tone on a strong beat with no reason for being there, such as an E over G that does not fall to D.</p>\n<p>The second error is to start each phrase on the tonic. The second phrase here begins on A minor, and the phrase still makes sense. The tonic is the expected chord, but a phrase that begins on another chord is common, and the melody can carry it.</p>\n<p>The third error is to change chords on every beat. Faster harmonic rhythm is not better. A new chord on every beat leaves no time for any one of them to support its melody note, and the tune loses its outline.</p>\n<h2 id=\"what-to-do-with-it\"><a class=\"h-anchor\" href=\"#what-to-do-with-it\" aria-hidden=\"true\" tabindex=\"-1\">#</a>What to do with it</h2>\n<p>Take a folk tune you know well and harmonize it in four bars. Write the melody with its phrase endings marked, choose one chord per bar, and label every melody note as a chord tone or a non-chord tone. Then write a bass line that moves against the melody, check the downbeats for parallel fifths and octaves, and play the result.</p>\n<p>The <a href=\"/articles/cadences-and-phrase-endings/\">cadences article</a> explains why a dominant under a phrase ending sounds like a pause. The <a href=\"/articles/diatonic-chords-in-major-and-minor/\">diatonic chords article</a> lists the chords you can choose from in a major key, and <a href=\"/articles/roman-numeral-analysis/\">roman numeral analysis</a> shows how to write the plan so it transposes. For the reverse task, writing a melody over a chord sequence, the <a href=\"/articles/how-to-write-a-melody-over-chords/\">melody-writing article</a> covers the same relations from the other side.</p>",
    "license": "Content © Yunus Emre Vurgun. Drafted with AI assistance, then reviewed, corrected and published by the developer. Quote with attribution and a link to https://musics.name/articles/harmonizing-a-melody/; do not republish whole articles without permission.",
    "provenance": {
        "drafted": "AI-assisted, against a written house style",
        "reviewed": "Reviewed, corrected and published by Yunus Emre Vurgun",
        "publisher": "Yunus Emre Vurgun",
        "site_developer": "Yunus Emre Vurgun",
        "disclosure": "https://musics.name/colophon/#how-articles-are-written"
    },
    "source": {
        "file": "content/articles/harmonizing-a-melody.md",
        "syntax": "Markdown with YAML-ish front matter",
        "published": "2026-11-07",
        "updated": "2026-11-07",
        "contributions": "Open an issue or send a correction through https://yunusemrevurgun.com/contact"
    }
}