Music Box Gift

Place pins to make a short music box tune and give it as one link. The tune lives inside the link only: no sign-up, nothing stored on a server.

Press a pin to switch it on or off. Move between cells with the arrow keys and press with Space or Enter.

Length4.8 s
  • Card messageHave a lovely day
  • Pins8
  • Columns16
  • SpeedMedium (100 bpm)

As text

1 C4, 2 rest, 3 E4, 4 rest, 5 A4, 6 rest, 7 C5, 8 rest, 9 A4, 10 rest, 11 E4, 12 rest, 13 C4+A4, 14 rest, 15 rest, 16 rest

The same number always gives the same tune.

Going down to 16 columns erases the pins from column 17 on.

Kept tunes

No kept tunes yet.

Kept tunes are stored in this browser only. Only tunes you press Keep on are saved, and you can delete them any time.

This tool only makes a tune and passes it on as a link. The tune is not stored on a server, and anyone with the link can open it. If you copy someone else's melody onto the pins, check the copyright first.

How it works

Make a tune
Press pins on the board to switch them on or off. Rows are pitch (lowest at the bottom) and columns are time. Load an example or a random tune and change it. Several pins in one column play as a chord.
Gift link
With at least one pin you get a link. Copy it into any messenger; the person who opens it sees a card, presses the wind-up button and hears the tune. Sound starts only after that press.
Card image
Save card image stores a PNG with the card message and the pin picture on your device. An image has no sound, so send it together with the link.
Keep and reuse
Keep this tune stores up to 8 tunes in this browser. Next anniversary you can load last year's tune, change it and send it again.

The tune lives inside the link

Why random pins still sound fine

The rows are C, D, E, G, A and then C, D, E an octave higher: notes of a five-note (pentatonic) scale. That scale has no neighbouring notes a semitone apart, which is what makes notes clash, so almost any pattern sounds reasonably pleasant. For something richer, try another tune number or edit the pins by hand.

Pin rows and notes

The bottom row is the lowest note. Frequency is 440 x 2^((note number - 69) / 12), shown to two decimals.

Rows of the pin board and their notes
RowSolfegeNote nameFrequency (Hz)
1DoC4261.63
2ReD4293.66
3MiE4329.63
4SolG4392.00
5LaA4440.00
6High DoC5523.25
7High ReD5587.33
8High MiE5659.26

Eight example tunes

The examples are short phrases written for this service. They are not based on any existing song.

If you hear nothing

Frequently asked questions

How do I send a music box tune as a link?
Place at least one pin and a gift link appears. Press Copy link and paste it into a messenger or text. The person who opens it presses the wind-up button and hears the tune.
Is my tune stored on a server?
No. The tune sits in the part of the address after the # sign, and browsers do not send that part to a server. Anyone who has the link can listen to it, so do not put anything secret in a tune.
I opened the link but hear nothing.
Sound starts only after the play button is pressed. Check your device's silent switch and media volume and the Mute sound button on the page, and open the link in your default browser if it is an in-app browser. The tune is also written out as text.
Will random pins sound good?
The rows are C, D, E, G, A and then C, D, E an octave up. That five-note scale has no neighbouring notes a semitone apart, so almost any pattern sounds reasonably pleasant.
Can I copy a song I know onto the pins?
The service does not store or publish tunes; they travel only inside links. If you copy someone else's melody, check the copyright yourself. The eight example tunes are short phrases written for this service.
How do I save the card as an image?
After making a tune, press Save card image to store a PNG with the card message and the pin picture on your device. An image has no sound, so send it together with the link.