This example uses Web MIDI input (from all available ports and channels) to drive a Web Audio monophonic synthesizer. There is no UI. Source available on github.