Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Music box maker

Compose for a paper-strip music box: punch holes on a 15- or 20-note grid, hear it plucked, save a tune code, print a true-size strip, see the comb's tuning.

How to use

  1. Compose: choose a tune or a blank strip. Each row is one tooth of the comb (low notes at the bottom), each column one step of time. Tap a square to punch or remove a hole, then press Play.
  2. The tune code holds the whole tune in one line: copy it to keep it or share it, and paste it back with Load this code.
  3. Paper strip: set the measurements of your music box movement and press Make the strip. Download the SVG and print it at 100 % (actual size), then punch the holes.
  4. The comb: see each tooth's note, frequency and the length it needs compared with the longest tooth.

Keyboard and touch

Arrow keys on the gridMove the red box
Space or EnterPunch or remove the hole in the red box
Tap the gridPunch or remove a hole

Tips

  • A tooth needs time to settle: two holes in a row on the same note may not both sound on a real box. Leave a step between repeats.
  • The combs here only have the white keys of C major, so tunes in C (or A minor) fit best.
  • Add a low note at the start of each bar for a simple accompaniment, as in the built-in tunes.
  • Paper strip boxes differ: always measure yours and print one test strip before punching a long tune.

About this tool

Notes use equal temperament with A4 = 440 Hz, so each semitone multiplies the frequency by the twelfth root of 2. A music box tooth is a small steel cantilever. Its main pitch goes as its thickness over its length squared, so with equal thickness a tooth's length is the longest tooth's length times the square root of (lowest frequency / its frequency). Real combs are also thinned and weighted, so the lengths are a guide. The sound is a sine wave for the main pitch plus the tooth's first bending overtone at 6.27 times the pitch, both dying away, which gives the bell-like pluck. The strip is drawn in millimetres, so it prints at true size. The built-in tunes are traditional or by Beethoven and in the public domain; the arrangements are our own. A separately written Python check verifies the notes, tooth lengths, codes and hole positions. Everything runs in your browser.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product