
To harmonize a melody you have already written, keep its notes fixed, mark the long or accented notes, and audition chords that support those notes. Start with one chord per bar. A quick passing note does not automatically need a new chord. Compare at least two settings with the melody unchanged, then listen across the point where your game cue loops. The four-bar worksheet below shows every pitch and chord choice, including one clash and its repair.
Keep the melody fixed while you find its center
Write down the melody before testing harmony. A chord change can make the same note sound different, but changing the tune at the same time hides which decision caused that difference. In a piano roll, duplicate the melody region and leave both copies untouched. Put the first chord setting below one copy and the second below the other. Mute one accompaniment while auditioning the other.
Notice where the melody rests and which pitch feels like an arrival. A collection of white-key notes could point to C major or A minor; the pitch collection alone does not settle the tonal center. Pianote’s harmonization lesson uses the final note and key signature as clues, then begins with chords from the likely key. Treat that as a starting hypothesis you can test by ear. For our illustrative cue, C is the arrival note and C major is the working key. Nothing here claims this is a transcription from a released game.
Write the simple diatonic triads on a scratch track or sheet: C (C–E–G), Dm (D–F–A), Em (E–G–B), F (F–A–C), G (G–B–D), Am (A–C–E), and Bdim (B–D–F). You do not need to use all seven. Choose a small palette first so you can hear the effect of each change. If a strong melody note lies outside the key, a chord borrowed from elsewhere may be worth trying; Hub Guitar’s second worked example demonstrates an outside-key note supported by an outside-key chord. That is an option, not a reason to add complexity to a tune that already works.
Mark the notes that need support
Give each melody event a beat, pitch, and length. Circle the notes that last longest, land on an accent, or feel like the end of a small phrase. Those are your first chord tests. Hub Guitar describes how beat position, length, and loudness change a note’s prominence. Pianote likewise starts with target notes when matching chords to a melody. Neither method requires a chord for every note.
Here is an original four-bar sketch in 4/4. Every pitch is a quarter note unless marked otherwise. “&” means the halfway point between numbered beats. Bar 1 has C on beat 1 for two beats, E on beat 3 for one beat, and G on beat 4 for one beat. Bar 2 has A on beat 1 for two beats, G on beat 3 for one beat, and F on beat 4 for one beat. Bar 3 has F on beat 1 for two beats, E on beat 3 for a half beat, F on the & of 3 for a half beat, and D on beat 4 for one beat. Bar 4 has B on beat 1 for one beat, D on beat 2 for one beat, and C on beat 3 for two beats. The sustained notes C, A, F, and the final C deserve the first tests. The quick E between two F notes in bar 3 deserves a listen, but probably not a new chord.
In your own cue, use the actual note lengths and accents. A loud offbeat note can be more prominent than a quiet downbeat. Try a provisional one-chord-per-bar setting, play it under the melody, and mark any sustained note that sounds unsupported. Do not correct a clash by silently moving the melody note: the exercise is to choose harmony for the tune you have.
Make a chord shortlist for each bar
For each circled note, list two or three triads that contain it. Then check the other notes sounding during that chord. A melody pitch can be a chord tone, an intentional extension, a passing tone, or a clash you want to repair. Beyond Music Theory demonstrates both chord-tone and extension approaches, plus using a bass line to narrow the choices. The worksheet below sticks to triads for its first pass so the note relationships stay easy to audit.
| Bar and melody | Target and candidate chords | First choice | Reason and next check |
|---|---|---|---|
| 1: C(1–2), E(3), G(4) | C is in C, F, Am. C = C–E–G; Am = A–C–E. | C | All three melody pitches are chord tones. Try Am for a different bass and check whether G on beat 4 feels like a color note over it. |
| 2: A(1–2), G(3), F(4) | A is in F, Dm, Am. F = F–A–C; Dm = D–F–A. | F | A and F are chord tones. G is a brief scale tone between them, a ninth against F; listen before deciding whether to voice that tension. |
| 3: F(1–2), E(3), F(&3), D(4) | F is in F, Dm, Bdim. Dm = D–F–A; G = G–B–D. | Dm | The long F and final D are chord tones. E is a short step away from F, while F returns immediately. Keep one chord unless the E sounds too exposed. |
| 4: B(1), D(2), C(3–4) | B and D are in G = G–B–D; C is in C = C–E–G. | G, then C on beat 3 | G supports the first two notes. Switch to C under the long arrival note. Check that the new C chord still feels natural when bar 1 starts again. |
The chord symbols in this table are a proposed solution, not a rule about the only “correct” harmony. The basic sequence is C | F | Dm | G–C. Notice that we changed chords inside bar 4 because the long C on beat 3 would be a fourth above a continuing G triad. That dissonance could be intentional, but the direct C chord gives this exercise a clear arrival. Piano With Jonny’s examples show several harmonizations of a fixed melody and discuss bass motion and resolution. Use that flexibility while keeping your own melodic evidence visible.
Change chords only when the melody asks for it
Harmonic rhythm means how often the chord changes. Begin with one chord per bar because it gives the melody room and makes clashes easier to locate. Hub Guitar asks this question before selecting chords and shows an example that changes twice within a measure when the melody calls for it. Your cue can use fewer changes or more, but each extra change should solve an audible problem or create a deliberate shift.
Consider the E on beat 3 of bar 3. Dm contains D, F, and A, so E is not a triad tone. It lasts only half a beat and moves back to F on the & of 3. In this context, you can hear it as a brief neighboring pitch against Dm. Keep Dm through the bar and listen. If E is accented or held in the real version of your cue, the same chord may make it more conspicuous. For the written sketch, one alternative is Dm on beats 1–2, C on beat 3 under E, and Dm again on the & of 3 under F, continuing through D on beat 4. This supports E as a chord tone but adds two quick chord changes, so compare it with keeping Dm throughout and treating E as a brief lower neighbor or intentional ninth. The melody stays fixed.
A deliberate bad choice makes the test clear. Put G major (G–B–D) beneath the long F on beat 1 of bar 3. F is not in that triad and forms a seventh above G. You might want that sound in a tense cue, but in this straightforward setting it draws attention away from the planned arrival. Repair it by returning to Dm (D–F–A), which contains F, then compare both versions at the same playback level. Call the first one a mismatch for this chosen setting, not a universal theory error.
For a game loop, test the harmony without a drum fill or sound effect masking the join. Duplicate the four bars, play bars 3–4 into bars 1–2, and listen for an unwanted accent at the seam. If the join is harsh, check note releases, chord voicing, and whether the last C chord overlaps the next C chord before rewriting the melody. This is a proposed listening procedure for your own cue, not a claim that this example was rendered or tested in a game.
Compare two settings of the same tune
Copy the melody again and leave all its pitches and timing identical. Setting A is C | F | Dm | G–C, as in the worksheet. Setting B is Am | Dm | F | G–C. In bar 1, Am (A–C–E) contains the long C and the E, while G on beat 4 sits outside the triad. In bar 2, Dm (D–F–A) supports the long A and the F; the short G is a color note. In bar 3, F (F–A–C) supports the long F, but E and D are outside the plain triad. Because D on beat 4 is longer than the neighboring E, this version needs closer listening. Setting B may be worth keeping if that unresolved D helps the phrase lead into G in bar 4; if it distracts, replace F with Dm. The table has done its job by showing what to inspect.
These settings also move the bass differently: A uses C–F–D–G–C, while B uses A–D–F–G–C. Record or play the bass roots alone against the melody, then add upper chord tones. Beyond Music Theory describes bass-line choice as a way to limit chord options; Piano With Jonny discusses bass motion and inversions. Try a first-inversion C chord (E–G–C) in bar 1 if you want E in the bass without changing the chord’s pitch set. A smoother bass line is a musical option, not a requirement: the right motion depends on the cue and how the melody sits above it.
The game context matters at this comparison stage. Lena Raine, the composer of Celeste, described in a Bandcamp interview how that game’s music developed alongside its levels and gameplay. That is a useful reminder to compare your two accompaniments against the scene’s pacing. It does not tell us which chords Raine used in a particular track, and this worksheet makes no such claim. For a character theme, the question may be whether the fixed melody remains recognizable through a different harmonic setting; see our leitmotif guide. If you need ideas before the melody exists, our chord progression guide starts from that opposite direction.
Check the last bar against the first
In the proposed setting, bar 4 starts B over G–B–D, moves to D over the same chord, then holds C over C–E–G on beats 3–4. Bar 1 starts with the same C melody note over C–E–G. The final melody and chord therefore meet the opening on matching pitch classes. That makes a clean harmonic handoff possible; it does not guarantee an inaudible audio edit. A long reverb tail, a sharp cut at the loop boundary, or a bass note that restarts at a different octave can still make a seam obvious.
Listen to the end and restart three ways: melody alone, bass with melody, then full chords. If a clash appears only when the chords enter, inspect which note is still sounding at the boundary. If it appears with the melody alone, inspect the edit and note length. If the join works but feels static, try an inversion of the final C chord or shorten the final chord’s release, and compare again. Keep one variable at a time. Our counterpoint exercise covers two independent lines; here the task is keeping one line stable while the accompaniment changes. For a wider theory overview after this exercise, see game music theory techniques.
Save the worksheet beside your project: melody events; circled targets; candidate chords and spelled pitches; chosen chords; one sentence about each non-chord tone; and a note on the loop seam. That record lets you revisit a harmony choice without pretending there was only one possible answer. You can make a more adventurous pass later with borrowed chords or extensions, but first make sure you can explain what each chord does under the notes already on the page.
FAQ: Choosing chords for a game melody
Do I need a chord for every melody note?
No. Start with the long and accented notes, then listen to shorter notes against the chosen chord. Change chords when a note needs support or you want a clear harmonic shift.
What if a melody note is outside the chord?
Check its length and accent. A short passing or neighboring note may work as written. If a long note clashes unintentionally, try a chord that contains it or voice it as a deliberate extension.
Can two different chords fit the same melody note?
Yes. C belongs to C, F, and Am triads. Compare the other melody notes and the bass movement before choosing which setting serves the phrase.
Must every chord come from the key?
No. Diatonic chords make a clear first shortlist. An outside-key chord can support a strong outside-key melody note when you want that color, but audition its arrival and departure.
How do I check harmony at a game loop point?
Play the last bars directly into the first bars with the melody alone, then bass and full chords. Inspect any held note, chord release, and bass restart that makes the join sound abrupt.





