How to Harmonize a Melody on the Piano or Keyboard

Updated on August 5, 2016
JohnMello profile image

JohnMello is a writer, composer, musician and the author of books for children and adults.

Learn to harmonize a tune at the keyboard
Learn to harmonize a tune at the keyboard | Source

Want to be able to harmonize a tune at the piano or keyboard?

Here are a few techniques you can use to spice up any tune and add harmonies to it. It might be a tune you’ve written yourself, or a tune you heard somewhere. The simpler the tune, the easier it is, although the techniques will work for any melody once you get the hang of it.

We’ll start things off with a basic tune moving one note at a time, as in the graphic below:

Here's a basic tune to try to harmonize
Here's a basic tune to try to harmonize | Source

To start the harmonizing process, we’ll use some basic chords. Let’s add the notes of the triads BELOW the melody line. Since this piece is in the key of G major, we know the main chords will be G, D and C. So now we simply need to insert the notes for the respective chords under their notes.

The first note in the melody is G, so we add D and B below it. The next melody note is A, part of the D triad, so we add F# and D. The next note is B, so we add G and D, Then next comes C, and we add G and E below it.

Here’s what it looks like when we “fill in” the chords below the tune.

Fill in simple chords below the tune
Fill in simple chords below the tune | Source

You’ll notice when you play the excerpt above that the melody is still easy to hear, because we’ve added the harmony underneath it.

Our next task is to spread the notes out and create a bit more excitement. This is very easy to do. Just remove the MIDDLE note in each of the chords and place it DOWN an octave, which will put it in the bass clef as in the image below:

Move the middle note down one octave
Move the middle note down one octave | Source

[Note: 8ba means 8 notes (or an octave) below.]

Now things are really shaping up. We’ve already turned a simple tune into something more exotic that it takes two hands to play. The final part of the puzzle is also just as easy. All we have to do now is to add the ROOT of each chord BELOW the notes in the bass clef. For the G chord the root is G, for D chord it’s D, and for C chord it’s C.

Here’s what that looks like:

Add the root of the chord in the bass part
Add the root of the chord in the bass part | Source

So far so good. The benefit of using this harmonizing technique is that the notes always go together perfectly. Problem is, they don’t always sound as spectacular as we might have hoped. Using chords in their root positions all the time can get a bit boring. We’ll add some variety by using a chord inversion.

We’ll add the second inversion of the G major chord in the final bar. To do that, we just change the lowest note from a G (the root) to a D, as in the image below:

Add some simple chord inversions for variety
Add some simple chord inversions for variety | Source

This is one simple way to give the piece some much-needed variety. But we’re not going to stop there.

Let’s see if we can’t improve the melody a little. To do that we can simply change the rhythm so that it’s not plodding along in a steady quarter note pattern. Here’s one example of how to achieve it:

Give the tune a more interesting rhythm
Give the tune a more interesting rhythm | Source

It sounds much better now, doesn’t it? Now we can add the chords in the bass clef, following the same rhythmic pattern, as in the image below:

Add some basic triads below the rhythmic tune
Add some basic triads below the rhythmic tune | Source

That’s not bad. However there isn’t much differentiation between the melody and the chords, so let’s try something else.

One way to liven the whole thing up is to make the chords move by giving them their own rhythmic pattern, sticking closely to the chord structure but using broken chords instead of solid ones:

Add a rhythmic element to the left hand chords, breaking them up as necessary
Add a rhythmic element to the left hand chords, breaking them up as necessary | Source


If you look back at the melody we started with at the very beginning, you can see how much it’s grown and developed. You’ll find the whole exercise by following this How to Harmonize a Tune link, where you can listen and print the score.

If you enoyed this exercise, then please check out my other music related hubs.


    0 of 8192 characters used
    Post Comment
    • profile image

      Jostein Kauserud 

      11 months ago

      Thanks, very nice tutorial

    • profile image

      obadiah ayuba 

      23 months ago

      want to be a composer

    • profile image

      Mel McIntyre 

      2 years ago

      Hi Kabatoeze

      It's exactly the same principle whatever chords you use. I plan on creating a Hub using minor, augmented, diminished and even 7th chords in the future, but I think if you follow the article's advice it will work with any triad or 4-note chord :)

    • profile image


      2 years ago

      I love this trend. Have been trying to get better in harmonizing a song but with your explanation i think i can now harmonize comfortably. But can you just explain how we can harmonise using advanced chords such as aug, minor, Dim,......

    • JohnMello profile imageAUTHOR


      3 years ago from England

      Hi junior james ajuna. Follow the techniques above. Start with the melody and add the chords as I've done, and then take the middle note out and down an octave. Finally add the bass note :)

    • profile image

      junior james ajuna 

      3 years ago

      Thanx a lot.,but i need your help,how do I find the hermony notes soprano,tenor,alto and basson a piano for any songsong??.for exampla the old hym "blessed assurance".

    • profile image 

      3 years ago

      very helpful indeed ! tnx !

    • JohnMello profile imageAUTHOR


      5 years ago from England

      Thanks Gintare. The basic principles are exactly the same no matter what kind of music it is. I can't use examples of pop songs that you might already know, because they're under copyright. However I might create another Hub to demonstrate "types" of pop songs like rock and ballad in the near future :)

    • profile image


      5 years ago

      Very helpful.

      Could you please make examples with some popular songs?

    • profile image

      ian n 

      6 years ago

      v helpful

    • JohnMello profile imageAUTHOR


      7 years ago from England

      Thanks Viviene. Glad it worked for you!

    • profile image


      7 years ago

      I really found this very very helpful I have been trying for months to harmonize a tune. The steps are quite simple I tried them and they worked. Thanks a mil. I will use the same principle to try to create some songs!!!!!


    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at:

    Show Details
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)
    ClickscoThis is a data management platform studying reader behavior (Privacy Policy)