A simple Web Audio oscillator-based synth. Use it as a fallback when no better MIDI-Out options are available.
See the demo...
JZZ.synth.Tiny(); // or var port = JZZ.synth.Tiny(name); // or JZZ.synth.Tiny.register(name); var port = JZZ().openMidiOut(name);
<script src='JZZ.js'></script> <script src='JZZ.synth.Tiny.js'></script> ... <script><!-- JZZ.synth.Tiny().noteOn(0, 'C5', 127).wait(500).noteOff(0, 'C5'); --></script>
The synth audio output can be directed to any node within the Web Audio graph for further processing.
port.plug(audionode) - direct the synth audio output to the audionode.