jzz-synth-osc

Fallback MIDI-Out implementation

Usage no npm install needed!

<script type="module">
  import jzzSynthOsc from 'https://cdn.skypack.dev/jzz-synth-osc';
</script>

README

JZZ-synth-OSC

A simple MIDI-Out implementation for the systems with no better option available.
Mainly, for use as template for your own JZZ-compatible synths.
For real world applications, please consider using JZZ-synth-Tiny instead.

npm npm jsDelivr

Install

npm install jzz-synth-osc
or bower install jzz-synth-osc
or yarn add jzz-synth-osc
or get the full development version and minified scripts from GitHub

Usage

Plain HTML
<script src="JZZ.js"></script>
<script src="JZZ.synth.OSC.js"></script>
//...
CDN (jsdelivr)
<script src="https://cdn.jsdelivr.net/npm/jzz"></script>
<script src="https://cdn.jsdelivr.net/npm/jzz-synth-osc"></script>
//...
CDN (unpkg)
<script src="https://unpkg.com/jzz"></script>
<script src="https://unpkg.com/jzz-synth-osc"></script>
//...
CommonJS
var JZZ = require('jzz');
require('jzz-synth-osc')(JZZ);
//...
AMD
require(['JZZ', 'JZZ.synth.OSC'], function(JZZ, dummy) {
  // ...
});
//...
JZZ.synth.OSC().noteOn(0, 'C5', 127)
     .wait(500).noteOn(0, 'E5', 127)
     .wait(500).noteOn(0, 'G5', 127);
     .wait(500).noteOff(0, 'C5').noteOff(0, 'E5').noteOff(0, 'G5');

More information

Please visit https://jazz-soft.net** for more information.
Your questions and comments are welcome here.