diff --git a/README.md b/README.md index 96cb739..3a3c5f2 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,16 @@ +
  

Description of package;

  • MIDI.loadPlugin.js:  Decides which framework is best to use, and sends request.
  •  // interface to download soundfont, then execute callback;
    -MIDI.loadPlugin(callback, soundfont);
    +MIDI.loadPlugin(callback);
     // simple example to get started;
    -MIDI.loadPlugin(function() {
    -	MIDI.noteOn(0, 100, 127, 0); // plays note once loaded
    -}, "soundfont/soundfont-ogg-guitar.js");
    +MIDI.loadPlugin({
    +	instrument: "acoustic_grand_piano", // or 1 (default)
    +	instruments: [ "acoustic_grand_piano", "acoustic_guitar_nylon" ], // or multiple instruments
    +	callback: function() { }
    +});
     
  • MIDI.Soundfont.js:  Customizable base64 Soundfont.
  • @@ -69,3 +72,4 @@ MIDI.Player.setAnimation(function(data) {
  • Flash package:  SoundManager2 by Scott Schiller
  • jasmid:  Reads MIDI file byte-code, and translats into a Javascript array.
  • base642binary.js:  Cleans up XML base64-requests for Web Audio API.
  • +
    \ No newline at end of file