🧠Cerebite

Online Xylophone

Pick a song and press Start. The bar to hit next glows — tap it and the song moves on, at your own pace.

Choose a song and press Start.

Accuracy
Wrong bars
Time

How to play along

Choose a song from the list and press Start. One bar lights up with a white ring — that is the next note. Hit it and the light jumps to the following note; hit a different bar and it simply sounds, the bar shakes, and the song waits for you. Nothing scrolls away while you search, so you can take as long as you need on each note. The strip above the instrument shows the next twelve notes in the same colors as the bars, which helps you see a run coming before you play it.

If a tune is new to you, switch to Listen first: the xylophone plays the whole song at the chosen speed and lights each bar as it sounds. Then go back to Play along. Free play turns off the guide completely — slide a finger across the bars for a glissando, or press several bars at once.

Why the bars turn sideways on a phone

A real xylophone is long and low: the bars stand side by side, getting shorter from left to right. Squeezing fifteen of them across a phone held upright would leave each bar narrower than a fingertip, far too small to hit reliably. So on narrow screens the page rotates the instrument a quarter turn: the bars lie flat and stack from bottom (low C) to top (high C), still getting shorter as the pitch rises. Each bar becomes a wide strip that is easy to tap with a thumb.

Turn the phone sideways, or open the page on a tablet or computer, and the bars switch back to the traditional upright row. On a computer the letters on each bar show keyboard shortcuts: the A–J row plays the lower octave and Q–I plays the upper one.

About the sound and the songs

There are no recordings on this page. Each note is synthesized on the spot by the Web Audio engine in your browser: a pure tone at the bar's pitch, a quieter overtone almost four times higher that gives wooden bars their bright knock, and a tiny burst of noise for the mallet. Higher bars ring for less time, just as short bars do on a real instrument. Because nothing has to download, the xylophone responds instantly and keeps working offline once the page has loaded.

Frequently asked questions

Is this online xylophone free?
Yes. It runs entirely in your browser with no sign-up, no app and no download, on phones, tablets and computers.
Why don't I hear anything?
Browsers only allow sound after you touch the page, so tap a bar or press Start once. On an iPhone, also check that the silent switch on the side is off and the volume is up.
Which notes does the xylophone have?
Fifteen bars covering two octaves of the C major scale, from C4 (middle C) up to C6 — the same white-note layout as a typical school xylophone. There are no sharps or flats, which is why some songs are transposed.
Can I play with several fingers at once?
Yes. Each finger is tracked separately, so you can hit two bars together, and sliding a finger across the bars plays every bar it passes, like running a mallet down a real xylophone.
Can I play it with a computer keyboard?
Yes. A S D F G H J play C4 to B4, and Q W E R T Y U I play C5 to C6. The letters appear on the bars when you use a mouse.
What happens if I hit the wrong bar?
The bar still sounds and gives a little shake, and the glowing bar stays where it is until you find the right one. Wrong hits are counted, and the result screen shows your accuracy and time when you reach the end.
Why are the bars stacked from bottom to top on my phone?
A phone held upright is too narrow for fifteen bars side by side, so the instrument is turned a quarter turn: low C is at the bottom and high C at the top. Rotate the phone to landscape to see the bars standing in a row instead.