Write Music Notes on a Staff
Click the staff to place a note, and Trebly plays it and tells you which note you put there. Choose note lengths, add rests and build a melody, then play it back to hear what you wrote.
Teaching this? More for teachers →
How to place notes
Click anywhere on the staff to place a note. The height you click decides the pitch: higher on the staff is a higher note. You can place notes on any line or space from middle C, below the staff, up to the G above it.
Every note plays as you place it, and a line under the staff spells out what you’ve written so far, for example “E D C D E E E”. So you get two ways to check your work: the sound, and the letter names. If you meant to write a G and the readout says A, you were one space too high.
The readout also counts your notes, rests and beats, so you can see how long the melody is.
Note lengths, dots and rests
Before you click, choose how long the note should last:
| Note | Beats |
|---|---|
| Whole note | 4 |
| Half note | 2 |
| Quarter note | 1 |
| Eighth note | ½ |
- Dot: adds half the note’s length again. A dotted half note lasts 3 beats, and a dotted quarter note lasts 1½.
- Rest: a silence of the chosen length. With Rest switched on, clicking the staff places a rest wherever you click, since a rest has no pitch.
To learn more about what each note shape means, see note values.
Measures, keys, sharps and flats
The staff has a time signature and bar lines, so you can see your measures fill up. Pick 4/4, 3/4 or 6/8 under Time. A song you load brings its own.
Once you’ve finished Sharps, Flats and Naturals (lesson 27), the sharp, flat and natural buttons appear. Pick a sign, then place the note, or select a note and press a sign to change it. Just as in printed music, a sign lasts until the end of the measure, for that line or space, unless a natural cancels it.
Once you’ve finished Key Signatures (lesson 29), you can choose a Key: C major, G major (every F is F sharp) or F major (every B is B flat). The key signature goes after the clef, and the notes it changes sound that way without a sign of their own. The letters under the staff always show how each note sounds: a sharp or flat that comes from the key, or from earlier in the measure, is shown in orange.
Editing your melody
To fix a mistake, select a note and change it:
- ‹ and ›, or the left and right arrow keys, move from one note to the next.
- ↑ and ↓, or the up and down arrow keys, move the selected note up or down one step.
- Choose a new length while a note is selected to change that note’s length.
- Delete, or the Backspace key, removes the selected note. If nothing is selected, it removes the last note.
- Clear wipes the staff so you can start a new tune.
Save and play it back
Press ▶ Play to hear your whole melody with the rhythm you wrote. It’s the quickest way to find a wrong note.
When you’re happy with it, give your tune a name and press Save to my tunes. It’s saved in your browser and added to your Songs list, where you can read and play it like the built-in songs.
You can also load any of the built-in songs into Compose to see how they’re written. If you change one and save it, Songs plays your version. Revert to original puts it back.
Ideas to try
- Write a tune you know. Try “Mary Had a Little Lamb” from memory, then play it back to see whether it sounds right. The Write a Melody lesson walks you through it.
- Make up four beats. Write one measure of exactly four beats, mixing quarter notes and a half note, and play it back.
- Practice your note names. Pick a letter, say F, and place it everywhere it can go on the staff. Then check the readout.
New to writing notes? Start with the Writing Notes on a Staff lesson. When you’re comfortable, test your ear with Dictation.