OpenHorn

A saxophone as physics: the air column, the tone holes and the reed, solved in your browser.
Press “Start sound”. Nothing plays until you do.
Hold a key and drag up to bite the reed, down to relax it. Computer keys: A W S E D F T G Y H U J K, Z and X shift the octave.

What you are hearing

There are no samples and no oscillators here. The page simulates the air inside an alto saxophone: 258 slices of bore from the neck to the bell, fifteen tone holes that open as you play, a mouthpiece and a reed that beats against it. Every sound, including the way notes start, slur and break, comes out of that simulation, 96,000 steps a second.

The bore is that of a real alto, measured by M. Postma. With the real bell, the bend of the bow and breath-warm air, the model's tone holes land within about a centimetre of the real instrument's.

With a wind controller, breath (MIDI controller 2) blows the horn and the lip sensor (pitch bend) squeezes the reed. A MIDI keyboard plays too, at the breath set by the slider.

Known faults

About

OpenHorn is an open-source physical model of a saxophone, written by a physicist and programmer who plays a wind controller. It descends in spirit from the physical-modelling instruments of the 1990s, but shares no method with them: it solves the equations of the air column and the reed directly. It is independent of any instrument maker.

Source, measurements and the native application: github.com/gazillion101/openhorn. Apache License 2.0.

Credits: bore measurements by M. Postma (sax.mpostma.nl), used with credit as his site allows. Bell shape from A. Lefebvre's thesis (McGill, 2010). Reed and embouchure fitted to the University of Iowa Musical Instrument Samples. The model is not a copy of any maker's instrument and is not named after one.