Online Instruments — Play Piano, Guitar, Drums and Otamatone by Mouse, Touch or Keyboard
A browser instrument playground with four instruments — piano, guitar, drums and an Otamatone — that you can play right away with a mouse, touch or your computer keyboard. Every sound is synthesized on the spot with the Web Audio API, with no sample files or external servers.
Piano
Click the keys or press them with a finger. Drag sideways while holding to keep playing (glissando). The small letters on the keys show the matching computer keys.
All 88 keys (A0-C8) are here. Drag the bar above the keyboard, or use the octave buttons, to move the window — the highlighted strip above the keys marks the two octaves your computer keys are currently mapped to. Keys: bottom row white Z X C V B N M , · black S D G H J. Top row white Q W E R T Y U I · black 2 3 5 6 7.
Guitar
Click a string or pluck it with a finger. Swipe up or down while holding to sound several strings in order (strum). Every note is freshly synthesized with Karplus-Strong string synthesis.
Keys: number keys 1–6 map to strings 6 (low E) through 1 (high E).
Drums
Tap the pads. Every hit is synthesized on the spot by shaping noise and oscillators with filters and short envelopes — no samples.
Hit the middle of the snare for a snare (Z), its hoop for a rimshot (C). Keys: Q crash · W open hat · E closed hat · A high tom · S mid tom · D floor tom · Z snare · X kick · C rimshot · V clap.
Otamatone
A pitch slider modelled on the Otamatone, the Japanese toy instrument. Press or drag along the neck and the pitch glides smoothly.
C3
You can also play it from the keyboard — same layout as the piano (bottom row Z…, top row Q…I).