Every sound here is computed live in your browser from the equations of motion of its instrument:
stiff strings and felt hammers, gear-driven tonewheels, steel tines, bouncing contacts, quills, flames, neon lamps, spinning black holes.
No samples. Play with your computer keyboard, a touch screen or a MIDI keyboard, and turn the knobs that real instruments hide:
the shape of the string, where the hammer lands, how stiff the felt is, how fast the black hole spins.
Physics, not samples
Each instrument is reduced to its vibrating parts (modes of strings, beams, plates, pipes, circuits or spacetime) and integrated sample by sample in an AudioWorklet. Nonlinear parts (hammers, pickups, friction, flames) are solved implicitly at every step. Each page explains its equations in How it works and shows the physics as you play.
Discover and perform
Every instrument page has two modes. In both, the few controls you reach for while playing (the volume, the pedal) sit in the bar above the keys. Discover adds every other control, every view of the physics, and what each one means, with the presets in the controls’ bar. Perform fills the screen with the views you choose, with no text in them, and brings the presets down beside the keys: for playing, or for a projector.
Play it
The letter rows of your keyboard are the keys: Z–/ the white keys from C, with the black keys on the row above, and Q–] the same an octave up; arrow keys shift the octave and adjust each instrument’s main control, and Space is the pedal. On a phone or tablet, play the on-screen keys with as many fingers as you like. A MIDI keyboard works in Chrome, Edge and Firefox, on a computer or an Android tablet; Safari, and every browser on an iPhone or iPad, has no Web MIDI, so there the pages offer no MIDI button (the plugins take MIDI anywhere). Headphones help: some instruments are in stereo for physical reasons. Use wired ones: Bluetooth headphones and speakers delay every note by 100–200 ms, enough to make any instrument feel sluggish.
Open and tested
Everything is plain JavaScript with no build step, MIT-licensed, and checked by physics tests: against textbook cantilevers, published black-hole frequencies, Arnold tongues and more. Each instrument’s How it works notes give the equations, the numbers, what is simplified, and the work it builds on. It all rests on decades of musical acoustics and physical-modelling synthesis by others: see the prior art and credits.
Vibe coded by Jesse Thaler · Forte · source on GitHub · changelog