← whatifs.fun

Music Box

Place notes on the grid and listen to your melody loop

120
Notes: 0 Stopped

Navigate   Space Toggle note   Enter Play/Pause

Copied to clipboard!

What Is Music Box?

Music Box is a free online melody composer that lets you create beautiful, chiming melodies right in your browser. Inspired by traditional mechanical music boxes, this digital version uses an interactive grid where you place notes that play as a sweeping playhead moves across. The pentatonic scale ensures that every combination of notes sounds harmonious, so anyone can compose something lovely in seconds.

How It Works

  1. Place notes — Click or tap cells on the grid to add or remove pins. Each row is a different note, each column is a beat in time.
  2. Press Play — The playhead sweeps left to right, triggering each note it passes. Your composition loops continuously.
  3. Customize — Switch instruments (Music Box, Xylophone, Piano, Harp), adjust tempo from 60 to 180 BPM, and choose grid sizes of 8, 16, or 32 beats.
  4. Share — Hit the Share button to copy a message to your clipboard and share your creation with friends.
The pentatonic scale is found in music traditions across every inhabited continent, suggesting it may be innate to human perception.

Frequently Asked Questions

Do I need music knowledge to play?

Not at all! The Music Box uses a pentatonic scale, which means every combination of notes sounds pleasant together. Just click or tap to place notes and you'll create beautiful melodies instantly — no music theory required.

Can I save and share my compositions?

Yes! Use the Share button to copy a message to your clipboard. You can paste it anywhere to tell friends about your creation and invite them to make their own melodies on whatifs.fun.

What instruments are available?

The Music Box offers four distinct instrument timbres: Music Box (the classic chiming sound), Xylophone (bright mallet tones), Piano (warm keyboard tones), and Harp (plucked string sounds). Each is synthesized in real-time using the Web Audio API — no downloads needed.

More Games You'll Like