ToneWright

Play a xylophone online

A xylophone with ten wooden bars in C major, longest and lowest on the left.

Listen plays it on the board. Practice waits for each note. Play along keeps time and counts what you hit.

Loading the instrument… Touch a bar. The dots are the nodes, where the cord goes through. Sound could not load.

On a computer keyboard, A to ; play the ten bars from low to high.

Why shorter bars sound higher

On a xylophone, the shorter the bar, the higher the note, and the bars are laid out in order, so the whole scale is visible at a glance.

A shorter bar is stiffer relative to its weight, so it springs back faster when struck and vibrates more times a second, which is a higher pitch. A bar an octave higher is only about a third shorter. The relationship is not linear, which is why a xylophone's outline curves.

The two dots on every bar

Each bar hangs on a cord threaded through two points called nodes, the two places along a vibrating bar that stay still while the rest of it moves. Supported at its nodes, a bar rings. Clamped anywhere else, it is damped.

A xylophone has no damper pedal. The note is struck, rings briefly and stops on its own.

Xylophone, marimba, glockenspiel, vibraphone

Four instruments that look alike and sound different:

  • Xylophone: wooden bars tuned to bring out an odd harmonic, played with hard mallets. The sound is bright, dry and woody with a short ring, and it cuts through an orchestra.
  • Marimba: also wooden, but with the bars thinned into a deeper arch and tuned to a different harmonic. It is warmer, sustains much longer and goes far lower.
  • Glockenspiel: small metal bars played with hard mallets. The sound is bell-like and piercing.
  • Vibraphone: metal bars with motor-driven discs spinning inside the resonators, which produce the vibrato it is named for. It also has a pedal and can sustain, which none of the others can.

It sounds an octave above what is written

The xylophone is a transposing instrument. Its part is written an octave below where it sounds, so a player reading C5 produces the pitch a piano would call C6. The convention keeps the part inside the staff and avoids a lot of ledger lines.


Sound: Versilian Studios Chamber Orchestra 2 Community Edition (CC0).

Questions about the online xylophone

Is the online xylophone free?

Yes. The ToneWright xylophone plays in the browser with no account, no download and no ads.

Can I play the xylophone on a phone or with a computer keyboard?

Yes, by touch on a phone or a tablet and with a mouse on a computer. On a computer keyboard, A to ; play the ten bars from low to high.

Can I learn a song on the online xylophone?

Yes. Choose one of 37 songs above the board. Listen plays it for you, Practice marks the next note and waits until you play it, and Play along counts you in, keeps time and tells you how many notes you hit. Your best result stays in your own browser.

What can I play on a xylophone?

37 of the 100 songs on this site fit the xylophone. They include Twinkle, Twinkle, Little Star , Ode to Joy , Amazing Grace and Auld Lang Syne . All xylophone songs