Getting started with the music notation sandbox
Type note names, see them as sheet music, hear them played back, and download a page you can share. This guide takes you through your first melody.
What the sandbox does
The music notation sandbox turns notes you type into sheet music you can see, hear and share. You type letter names such as c d e, and the sandbox draws them on a staff as you go.
This guide walks you through writing a short melody, playing it back and downloading it. All you need to know beforehand is your note names and basic note values (whole, half, quarter, eighth).
A quick tour of the screen
The sandbox has four areas, stacked from top to bottom. You work your way down the page: set up, type, play, share.
- Setup (the cream strip at the top). Title, Composer, Key, Time and Tempo. On the right are the Start from example menu and the Note guide and Code buttons.
- Staff box. The white box where you type your notes. Above it you can name the staff and pick its clef. Below it is the Add a staff button.
- Blue bar. Play on the left, Download page on the right.
- Score. Your music drawn as notation. The line underneath tells you what the sandbox sees, or what went wrong.
1Step 1: Set up your piece
Fill in the setup strip before you type any notes. You can change any of it later and the score redraws itself.
| Setting | What to do |
|---|---|
| Title | Type a name for your piece. It appears at the top of the page you download. |
| Composer | Type your name. |
| Key | Pick a key from the menu. Each one lists its sharps or flats, such as “G major (1 sharp)”. |
| Time | Two menus: beats per bar on the left, the note that gets the beat on the right. |
| Tempo | Beats per minute, from 20 to 300. |
For your first try, leave Key on C major, Time on 4 / 4 and Tempo on 100. Those are the settings the sandbox starts with.
2Step 2: Type your first notes
Click in the staff box and type note letters, with a space between each one.
Type this in the staff box
c d e f g a b c'
A moment after you stop typing, the sandbox draws a C major scale in quarter notes. The line under the score should read “2 bars, 1 staff, C, 4/4 at 100 bpm.”
Lowercase or capital decides the octave, so watch your Shift key.
| You type | You get |
|---|---|
| c d e f g a b | Middle C up to the B above it |
| c' | The C one octave higher. Each extra apostrophe goes up another octave. |
| C D E F G A B | The octave below middle C |
| CC | One octave lower again. Each extra capital goes down another octave. |
Capital letters are handy for low parts. Use the clef menu above the staff box to switch between Treble, Bass, Alto and Tenor.
3Step 3: Add rhythm
Put a number straight after a note to set how long it lasts, with no space between the letter and the number.
| You type | You get |
|---|---|
| c1 | Whole note |
| c2 | Half note |
| c4 | Quarter note |
| c8 | Eighth note |
| c16 | Sixteenth note |
Three more things to know:
- The number carries over. A note with no number takes the same value as the note before it, dot included. So
c4 d eis three quarter notes. Type a new number only when the rhythm changes. - Dots. Add a period after the number for a dotted note:
c2.is a dotted half note. - Rests. Type
rin place of the note letter:r4is a quarter rest.
Now try a melody, the opening of “Twinkle, Twinkle, Little Star”.
Type this in the staff box
c4 c g g a a g2 f4 f e e d d c2
Look at the f4 after g2. Without the 4, that F would be a half note as well.
4Step 4: Sharps, flats and barlines
Add a symbol between the letter and the number to change a note: + for sharp, - for flat, n for natural.
| You type | You get |
|---|---|
| f+4 | F sharp, quarter note |
| b-8 | B flat, eighth note |
| fn4 | F natural, quarter note |
Two rules save a lot of confusion:
- The key signature is applied for you. In G major a plain
fis already F sharp. Add+or-only for notes outside the key. - Mark every one. A
+or-affects only the note it is attached to. Type it again each time that note comes back, even in the same bar.
For a barline, type the vertical bar character | between bars. On most keyboards it is Shift + backslash.
Type this in the staff box
c4 c g g | a a g2 | f4 f e e | d d c2
Barlines are optional. Leave them all out and the sandbox fills each bar from the time signature. If you type any, type one between every bar, because the sandbox then stops counting beats for you.
5Step 5: Listen to it
Press Play in the blue bar to hear your music with a piano sound.
- Press Play. The first time, the button reads “Loading piano…” for a few seconds while the sound loads.
- Watch the orange line. It moves across the score to show which note is sounding.
- Press Stop to end early. Otherwise playback stops by itself at the end.
Playback follows your Tempo setting, so change the number and press Play again to hear it faster or slower. If the piano sound cannot load, the sandbox uses a simpler built-in tone and tells you so under the score.
6Step 6: Save and share
The sandbox does not save your work. Save it yourself before you close or refresh the page.
There are two ways to save, and they do different jobs.
To share a finished piece
Press Download page in the blue bar. You get a file named after your title, such as twinkle.html, or my-music.html if you left the title blank. Anyone can open it in a web browser to see the score, press Play and print it. The file needs an internet connection to work.
To keep working on it later
Save the code, because the downloaded page cannot be edited.
- Press Code in the setup strip, then Copy.
- Paste the text somewhere safe, such as a document or an email to yourself.
- Next time, press Code, paste the text into the box and press Load this code.
If something goes wrong
When the sandbox cannot read what you typed, the score disappears and a message tells you why. The staff box gets an orange outline, and the message under it names the line with the problem. Fix the typing and the score comes back.
What a mistake looks like
c d e h
Line 1: I don’t recognise "h" here.
| What you see | What it usually means | What to do |
|---|---|---|
| I don’t recognise "h" here. | A letter or symbol that is not a note | Use only the letters a to g, plus r for a rest |
| I don’t recognise "4" here. | A space between a note and its number | Type c4, not c 4 |
| 3 is not a note value. | A number that is not a note length | Use 1, 2, 4, 8 or 16 |
| Notes sit an octave too high or low | Capital and lowercase letters mixed up | Lowercase starts at middle C, capitals are the octave below |
| Bars have too many or too few beats | A number carried over from an earlier note | Check the note values, starting just before the bar that looks wrong |
| No sound when you press Play | Device volume is off or muted | Turn the volume up and press Play again |
Quick reference
Everything from this guide in one table. Keep it open while you write.
| You type | You get |
|---|---|
| c d e f g a b | Middle C and the notes above it |
| c' | One octave higher |
| C | One octave lower |
| c1 c2 c4 c8 c16 | Whole, half, quarter, eighth, sixteenth |
| c4. | Dotted note |
| r4 | Rest |
| f+ b- fn | Sharp, flat, natural |
| | | Barline (Shift + backslash) |
Where to go next
Once the basics feel comfortable, three things in the sandbox let you do more:
- Start from loads a ready-made example you can change. It replaces whatever you have typed, so save your own work first.
- Add a staff gives you up to four staves, for two hands at the piano or several voices.
- Note guide opens a cheat sheet inside the sandbox that also covers chords, ties and triplets.
A getting-started guide for the Interlochen music notation sandbox.