The virtual xylophone is a browser-based percussion instrument with 25 keys in two rows: 15 white C-major bars from C5 to C7, plus 10 black sharp bars above them, laid out like a piano keyboard. Every sound is synthesized in your browser, so nothing is uploaded.
The white bars follow real xylophone proportions: long bars on the left for low notes, shorter bars on the right for high notes. Click or tap a bar to strike it, then hold the mouse button and sweep across the bars for a fast glissando. The long keys on the left are the low notes.
The layout borrows from a piano keyboard, but the proportions stay true to the real instrument. Low bars are long, high bars are short — a real xylophone gets its pitch from bar length, and the ratios here copy that geometry.
Striking a bar lights it up briefly and fires three sine oscillators: the fundamental, a second partial at half volume, and a third at a tenth. A 200 Hz highpass filter cuts the mud, leaving the bright ding you expect from a wooden bar.
Recording works like the rest of the site: hit Record, play, hit Stop, and download a WAV at 44.1 kHz, 16 bits. The renderer runs on your device, so nothing you play ever leaves the browser.
There is no keyboard mapping on this instrument. Click, tap or drag — mouse and touch both work, and holding the button while sweeping across the bars gives a fast glissando.
The black bars cover the sharps and flats, so melodies outside C major work too. The white bars alone give you every note of C major, which is why beginner tunes come out right on the first try.
It runs on the standard Web Audio API, so old laptops and phones handle it without an install. Once the page is open, no network is needed.
Compared with the marimba, this is the brighter, smaller cousin. The sound decays in about a second, the way a real bar does, so fast passages stay clean instead of blurring together.
25 keys in two rows: 15 white C-major bars (C5 to C7) and 10 black sharp bars, like a piano layout.
No keyboard mapping on this one — mouse and touch only, like striking a real instrument.
Yes. Record, play, Stop, and the page hands you a 44.1 kHz 16-bit WAV rendered locally.
No. A real xylophone has no pedal either — the bar rings and stops on its own, which the synth copies.
Three sine waves — fundamental, second and third partial — through a 200 Hz highpass. Simple recipe, recognizably metallic.
No account, no registration, no limits, no hidden costs. Open the page in any browser and play immediately.
For a first instrument, yes — the layout teaches the scale visually, and every white bar is always in key.
Click anywhere on the page once. Browsers block audio until the first interaction.
It has the right family resemblance, but real bars ring longer and warmer. This is a practice tool, not a concert hall.
Yes, they are yours. The tool is free and the files are standard WAV.
No. The instrument is a web page; nothing is installed and updates arrive on their own.
? No. A marimba is larger with wooden resonators, a warmer tone and a lower range; a xylophone is smaller, brighter and higher-pitched.
The synth schedules an exponential decay on every strike, so tails fade the way wooden bars do instead of clicking off abruptly.
Anything inside two octaves of C major. Twinkle Twinkle, Mary Had a Little Lamb and Happy Birthday all sit on the white bars, and the black bars unlock everything else.
? Yes. Hit Record, play the bars, then Stop and download your performance as a WAV file.
Yes — the large clickable bars, two-row piano layout and white bars that are always in key make it easy for young learners.
? The bright bell-like tone with the fundamental plus 2nd and 3rd partials closely matches the character of a real xylophone.
Same two-row layout, different job entirely. The piano has strings and sustain; the xylophone has wooden bars and a fast decay — here, about one second — and no pedal at all.
Two, from C5 to C7. The white bars run the C-major scale and the black bars add the ten sharps.
That is how a real xylophone tunes itself. Longer bar, lower pitch — the lengths here run from longest to shortest at a 2:1 ratio.
Yes. The black bars provide the accidentals, so the full chromatic set from C5 to C7 is available.