A real music box makes sound with a rotating metal cylinder studded with tiny pins. As the cylinder turns, each pin flicks a tuned steel tooth on a comb; every tooth is cut to a different length, so each one rings at its own pitch. The longer the tooth, the lower the note — exactly like the graduated teeth you see on the panel above, with long low notes on the left and short high notes on the right.
The first music box was built around 1796 by Antoine Favre, a Swiss watchmaker in Geneva. Favre applied the same precision skills watchmakers used for clocks to tuned steel combs, and within a few decades Swiss music boxes were exported around the world as luxury gifts, jewelry boxes and children's toys. The Geneva watchmaking tradition is why the comb mechanism is still measured in the same careful fractions of a millimetre.
This virtual music box reproduces the 18-note movement, the most common size for small keepsake boxes: 18 chromatic teeth from C5 to F6. Each tooth plays a synthesized comb tone built the way real music boxes ring — a bright fundamental with a strong fourth partial that dies away quickly. That fast decay plus the high shimmering partial is the signature sparkle you hear at the end of every note, and it sits in the same bright register as the real thing.
Play it like a real box: click any tooth with your mouse, tap it on a touch screen, or press the keyboard keys shown under each note. The layout mirrors a real comb — graduated teeth, dark felt background, and a brass-trimmed walnut case with a crank on the right side, just like the wind-up boxes that sat on dressers for two centuries.
Press Record, play your melody, then press Stop and download the result as a WAV file. Recording runs entirely in your browser; your notes are rendered with the same comb voice you hear live, and nothing is uploaded to any server.
Real movements come in standard sizes: 18 notes for keepsake boxes, 30 and 50 notes for larger cylinder boxes, and 72 notes or more for full-size cabinet models. A separate family of machines — disc boxes like the Regina, popular from the 1890s — played punched steel discs instead of pinned cylinders, letting owners swap tunes the way you would change a record. More teeth means a wider range and longer melodies — and historically, a far higher price.
Music boxes have played lullabies for two centuries. Brahms' Lullaby — the melody behind the demo button — was composed in 1868 and has been in the public domain for decades, which is why it became the tune found in more nursery music boxes than any other. The tinkling, bell-like decay of comb tones suits slow, gentle melodies better than fast runs: a lullaby at 60-80 beats per minute sounds natural, while a quick passage can turn into a blur of metal.
Real music boxes need simple care: wind them slowly and never force the key, keep the comb free of dust, and store the box in a dry place away from direct sun. The comb teeth are the fragile part — bending one even slightly shifts its pitch permanently, which is why restorers treat every tooth as irreplaceable. With gentle handling, a well-made movement from the 1880s still plays beautifully today.
The song sheets below are public-domain melodies arranged within the 18-note range C5 to F6. Click the play button on any sheet and watch the teeth light up as the melody moves across the comb. Each sheet's note letters match the labels under the teeth, so you can follow along with the keyboard too — the darker teeth are the sharps, and the letters under each tooth show exactly which physical key to press.
virtual music box, music box online, music box simulator, online music box player, 18-note music box, music box melody generator, virtual orgel, boîte à musique virtuelle, spieldose online, caja de música online, music box song maker, DIY music box tune, music box WAV download, wind-up music box sounds, lullaby music box, music box with comb, cylinder music box, twinkle twinkle music box, brahms lullaby music box, keepsake music box
Play the notes below in order, left to right — they match the labels under the teeth above. Each | marks one phrase. All four melodies are public-domain tunes that fit the 18-note range C5-F6.
C5 C5 G5 G5 A5 A5 G5 | F5 F5 E5 E5 D5 D5 C5 | G5 G5 F5 F5 E5 E5 D5 | G5 G5 F5 F5 E5 E5 D5 | C5 C5 G5 G5 A5 A5 G5 | F5 F5 E5 E5 D5 D5 C5
E5 E5 F5 G5 | G5 F5 E5 D5 | C5 C5 D5 E5 | E5 D5 D5 | E5 E5 F5 G5 | G5 F5 E5 D5 | C5 C5 D5 E5 | D5 C5 C5
E5 E5 E5 | E5 E5 E5 | E5 G5 C5 D5 E5 | F5 F5 F5 F5 | F5 E5 E5 E5 | E5 D5 D5 E5 | D5 G5
E5 G5 G5 F5 E5 D5 | C5 D5 E5 F5 E5 D5 D5 | E5 G5 G5 F5 E5 D5 | C5 D5 E5 F5 E5 D5 D5 | G5 F5 E5 D5 C5
A pinned cylinder turns and flicks tuned steel comb teeth; each tooth is cut to a length that sets its pitch.
Comb teeth are cut long for low notes and short for high notes — the length sets the pitch, as in this tool.
No — the tool models a real 18-note movement, fixed at C5 to F6.
Yes, completely free with no signup and no limits.
WAV at 16-bit 44.1 kHz — plays in any music app.
Yes — all four melodies are public-domain tunes arranged for the 18-note range.
Wind gently, never force the key, keep the comb dust-free and store it dry — bent teeth lose their tuning forever.
Real comb teeth ring with a strong fourth partial — four times the fundamental frequency — which gives music boxes their bell-like tinkling character; the synth reproduces it deliberately.
Yes — each sheet has a play button that lights the teeth as the melody runs, and the note letters match your keyboard keys.
A later type — the Regina-style machine — that plays punched steel discs instead of a pinned cylinder, allowing owners to swap tunes like records.
The page loads once and then everything — including recording — runs locally in your browser.
18 notes — the standard keepsake movement size — covering C5 to F6 chromatically.
Comb notes decay quickly and suit legato melodies; most classic music box tunes are lullabies and slow waltzes.
C5 (523 Hz) up to F6 (1397 Hz) — the full 18-note chromatic span of a keepsake movement.
Antoine Favre, a Swiss watchmaker in Geneva, built the first comb-and-cylinder music box around 1796.
The synthesized voice pairs the fundamental with a strong fourth partial and a fast decay — the signature of a real steel comb.
Yes — press Record, play, press Stop, then download the WAV. Everything runs locally in your browser.
Yes — tap the teeth directly; they are sized for thumbs.
Brahms' Lullaby, composed in 1868 — a public-domain melody and the classic music box tune.
No — music boxes pluck tuned teeth; barrel organs blow air through pipes.
The standard small movement size: 18 comb teeth giving 18 pitches, used in keepsake boxes since the 1800s.