###Simple Sound Font Synth Host
This is a simple demonstration of how to include a Web MIDI Synth [1] that uses soundFonts in a Web application.
It can be tried out at
http://james-ingram-act-two.de/open-source/SimpleSoundFontSynthHost/host.html.
This and my WebMIDISynthHost projects are unofficial, but are aimed at furthering the discussion about software synths at Web MIDI API issue 124.
The synth used in this demo is a version of the gree sf2synth.js to which I have added an API that includes the Web MIDI API for Output Devices. I have also enhanced the original synth to enable soundFonts to be cached and changed at runtime.
This synth implements standard MIDI controls. The messages that can be sent are declared in its commands and controls attributes.
I am not a Web Audio specialist, and there are currently some issues. Help would be much appreciated in ironing them out.
November 2015, James Ingram
[1] A "Web MIDI Synth" is a software synth that uses the Web Audio API to implement the Output Device interface defined in the Web MIDI API. Web MIDI Synths can be used online independently of browser implementations of the Web MIDI API. Standard Web MIDI Synths can be used interchangeably with the hardware synths supplied by browser implementations of the Web MIDI API.