How do you transcribe a melody into sheet music?
Listen to a short phrase, find its notes on a piano, write the pitches on a staff, then add the rhythm and check it by playing it back. You do not need perfect pitch, only patience and an instrument to test your guesses.
Transcribing means listening to a tune, working out each pitch and how long it lasts, and writing it down so someone else can play it. It feels hard at first, but it is a skill built from small steps, and a piano makes it much easier because you can test every guess.
What you need before you start
- A piano or keyboard, so you can check each note
- Staff paper, or a free notation app
- A recording you can loop (slowing it down helps)
- A pencil with an eraser
Pick a short tune with mostly stepwise movement, four bars or fewer. Simple public-domain melodies such as Twinkle Twinkle Little Star are ideal for a first attempt. Save complicated songs for later.
Step 1: Find the home note and the key
Hum along with the tune and find the note that feels like the end, the place the melody comes to rest. In many simple tunes the last note is the tonic (the key note), though not always. Find that note on the piano and play a major scale from it. If the tune fits, you have probably found the key.
If you only need white keys and the home note is C, you are in C major, which has no sharps or flats. If you keep reaching for a black key, note which one. One sharp (F sharp) points to G major, and one flat (B flat) points to F major. Those are the key signatures you would write at the start of the staff.
Step 2: Work out the pitches, one phrase at a time
- Loop one short phrase of three to five notes.
- Find the first note by sliding up or down the keyboard until it matches.
- For the next note, ask: higher or lower? A step or a leap? Try the neighbor first, since most melodies move by step.
- Write the letter name of each note as you confirm it.
- Play the phrase back and compare it with the recording before moving on.
This is the same skill described in how to figure out a tune by ear, with a pencil added. If a note is hard to hear, hum it first: your voice often knows the pitch before your fingers do.
Step 3: Put the pitches on the staff
Most tunes you play with the right hand are written in treble clef. Here is how the notes sit:
| Staff position | Treble clef notes |
|---|---|
| Lines, bottom to top | E, G, B, D, F |
| Spaces, bottom to top | F, A, C, E |
| First ledger line below the staff | Middle C |
If the melody sits low, bass clef may fit better: its lines are G, B, D, F, A from bottom to top, and its spaces are A, C, E, G. Notes beyond the five lines use short extra lines, explained in how to read ledger lines on piano.
Write sharps and flats in the key signature when the whole tune uses them. A sharp or flat that appears only once, outside the key, is written right before that note and lasts until the end of the bar.
A small convention: notes on or above the middle line of the staff usually have stems pointing down, and notes below it have stems pointing up.
Step 4: Capture the rhythm
Pitch and rhythm are two separate puzzles. Some teachers like to write the rhythm first, others the pitches first. Both work, so choose what feels natural.
To find the rhythm, tap the steady beat with your foot, then notice which notes last longer than a beat and which are shorter. Decide on the time signature: if you naturally count 1, 2, 3, 4, it is probably 4/4, and if it sways like a waltz (1, 2, 3), it is probably 3/4. In 4/4, the common note lengths are:
- Whole note: four beats
- Half note: two beats
- Quarter note: one beat
- Eighth note: half a beat
Draw barlines, then check that every bar adds up to the right number of beats. The exception is a tune that starts with a pickup (a short note or two before the first strong beat). In that case the first bar is incomplete, and the last bar usually makes up the missing beats.
Check and fix your work
Play exactly what you wrote, slowly, while the recording runs, or record yourself and listen back. The usual problems are easy to spot:
- The tune sounds right but too high or too low: you have the correct notes in the wrong octave.
- A repeated note is missing: listen again for notes that sound the same twice in a row.
- The bars do not add up: one rhythm is wrong, often a long note that should be shorter or the reverse.
Expect to change things. Professional transcribers revise too.
Build the skill with songs you already know
Familiar tunes are the best training material because your ear already knows what they should sound like. In the free Keyfall game at learnpianogame.com, each falling note shows its letter name, so you can play a public-domain piece such as Ode to Joy, then try writing the opening phrase from memory and check it against the game. It is practice and fun, not a replacement for a teacher, who can spot habits in your notation that a game cannot.
More about ear training
FAQ
Do I need perfect pitch to transcribe music?
No. Most people transcribe by comparing what they hear with notes played on an instrument, which uses relative pitch, a skill that improves with practice.
Should I write the melody in treble or bass clef?
Use whichever keeps most notes close to the five lines. Melodies for the right hand usually fit treble clef, and low melodies often fit bass clef.
What is a pickup note?
A pickup is a note or short group of notes before the first full bar. The first bar is left incomplete, and the final bar often makes up the missing beats.
Can software transcribe a melody for me?
Some apps try to turn audio into notation, but the results usually need correcting by ear. Doing it yourself first is still the best way to train your hearing.
Should I write the chords as well?
Start with the melody alone. Once that feels comfortable, you can learn to hear chords and add them, and a guide on identifying chords by ear is a good next step: [how to identify chords by ear](/guides/how-to-identify-chords-by-ear/).
Why does my transcription sound right but look wrong?
Check the octave, the time signature and where the bars start. A tune can sound correct when played but be written with wrong note lengths or barlines.
Practise it on your own piano. Keyfall is a free piano game: notes fall toward the keys and you play them on a digital piano, keyboard, phone or computer.
Play free