update README
This commit is contained in:
parent
7a40a68811
commit
edbb8113b8
1 changed files with 22 additions and 30 deletions
52
README.md
52
README.md
|
@ -1,6 +1,4 @@
|
|||
<pre>
|
||||
<li><a href="./js/MIDI.loadPlugin.js">MIDI.loadPlugin.js</a>: Decides which framework is best to use, and sends request.</li>
|
||||
<li class="indent">
|
||||
* <a href="./js/MIDI.loadPlugin.js">MIDI.loadPlugin.js</a>: Decides which framework is best to use, and sends request.
|
||||
<pre>
|
||||
// interface to download soundfont, then execute callback;
|
||||
MIDI.loadPlugin(callback);
|
||||
|
@ -11,21 +9,18 @@ MIDI.loadPlugin({
|
|||
callback: function() { }
|
||||
});
|
||||
</pre>
|
||||
</li>
|
||||
<li><a href="./soundfont/soundfont-ogg.js">MIDI.Soundfont.js</a>: Customizable base64 Soundfont.</li>
|
||||
<li class="indent square"><a href="http://mudcu.be/journal/2011/11/base64-soundfonts/">Encode your own soundfonts</a>, Drums, Guitars, and so on.</li>
|
||||
<li class="indent square"><a href="https://github.com/mudx/MIDI.js">Share</a> them with the community!</li>
|
||||
<li><a href="./js/MIDI.Plugin.js">MIDI.Plugin.js</a>: Ties together the following frameworks;</li>
|
||||
<li class="indent"><pre>
|
||||
|
||||
* <a href="./soundfont/soundfont-ogg.js">MIDI.Soundfont.js</a>: Customizable base64 Soundfont.
|
||||
* <a href="./js/MIDI.Plugin.js">MIDI.Plugin.js</a>: Ties together the following frameworks;
|
||||
<pre>
|
||||
MIDI.noteOn(channel, note, velocity, delay);
|
||||
MIDI.noteOff(channel, note, delay);
|
||||
MIDI.chordOn(channel, chord, velocity, delay);
|
||||
MIDI.chordOff(channel, chord, delay);
|
||||
MIDI.keyToNote = object; // A0 => 21
|
||||
MIDI.noteToKey = object; // 21 => A0
|
||||
</pre></li>
|
||||
<li><a href="./js/MIDI.Player.js">MIDI.Player.js</a>: Streams the MIDI to the browser.
|
||||
<li class="indent">
|
||||
</pre>
|
||||
* <a href="./js/MIDI.Player.js">MIDI.Player.js</a>: Streams the MIDI to the browser.
|
||||
<pre>
|
||||
MIDI.Player.currentTime = integer; // time we are at now within the song.
|
||||
MIDI.Player.endTime = integer; // time when song ends.
|
||||
|
@ -53,22 +48,19 @@ MIDI.Player.setAnimation(function(data) {
|
|||
var end = data.end; // time when song ends
|
||||
var events = data.events; // all the notes currently being processed
|
||||
// then do what you want with the information!
|
||||
});</pre></li>
|
||||
</li>
|
||||
<li><a href="./js/Color.js">Color.js</a>: Color conversions, music isn’t complete without!</li>
|
||||
<li class="indent"><pre>Color.Space(0xff0000, "HEX>RGB>HSL");</pre></li>
|
||||
<li><a href="./js/DOMLoader.script.js">DOMLoader.script.js</a>: Loads scripts in synchronously, or asynchronously.</li>
|
||||
<li class="indent"><pre>DOMLoader.script.add(src, callback);</pre></li>
|
||||
<li><a href="./js/DOMLoader.XMLHttp.js">DOMLoader.XMLHttp.js</a>: Cross-browser XMLHttpd request.</li>
|
||||
<li class="indent"><pre>DOMLoader.sendRequest(src, callback);</pre></li>
|
||||
<li><a href="./js/MusicTheory.Synesthesia.js">MusicTheory.Synesthesia.js</a>: Note-to-color mappings (from Isaac Newton onwards).</li>
|
||||
});</pre>
|
||||
|
||||
* <a href="./js/Color.js">Color.js</a>: Color conversions, music isn’t complete without!
|
||||
<pre>Color.Space(0xff0000, "HEX>RGB>HSL");</pre>
|
||||
* <a href="./js/DOMLoader.script.js">DOMLoader.script.js</a>: Loads scripts in synchronously, or asynchronously.
|
||||
<pre>DOMLoader.script.add(src, callback);</pre>
|
||||
* <a href="./js/DOMLoader.XMLHttp.js">DOMLoader.XMLHttp.js</a>: Cross-browser XMLHttpd request.
|
||||
<pre>DOMLoader.sendRequest(src, callback);</pre>
|
||||
* <a href="./js/MusicTheory.Synesthesia.js">MusicTheory.Synesthesia.js</a>: Note-to-color mappings (from Isaac Newton onwards).
|
||||
<h3>Many thanks to the authors of these libraries;</h3>
|
||||
<li><a href="http://dev.w3.org/html5/spec/Overview.html"><audio></a>: HTML5 specs</li>
|
||||
<li><a href="https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html">WebAudioAPI</a>: W3C proposal by Google</li>
|
||||
<li>Java package: <a href="https://github.com/abudaan/midibridge-js">MIDIBridge</a> by <a href="http://abumarkub.net">Daniel van der Meer</a></li>
|
||||
<li class="indent square">Use this to hook up a MIDI keyboard to your browser!</li>
|
||||
<li class="indent square">Access to 128 General MIDI instruments.</li>
|
||||
<li>Flash package: <a href="http://www.schillmania.com/projects/soundmanager2/">SoundManager2</a> by <a href="http://schillmania.com">Scott Schiller</a></li>
|
||||
<li><a href="https://github.com/gasman/jasmid">jasmid</a>: Reads MIDI file byte-code, and translats into a Javascript array.</li>
|
||||
<li><a href="http://blog.danguer.com/2011/10/24/base64-binary-decoding-in-javascript/">base642binary.js</a>: Cleans up XML base64-requests for Web Audio API.</li>
|
||||
</pre>
|
||||
* <a href="http://dev.w3.org/html5/spec/Overview.html"><audio></a>: HTML5 specs
|
||||
* <a href="https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html">WebAudioAPI</a>: W3C proposal by Google
|
||||
* Java package: <a href="https://github.com/abudaan/midibridge-js">MIDIBridge</a> by <a href="http://abumarkub.net">Daniel van der Meer</a>. Supports MIDI keyboard, and 128 General MIDI instruments.
|
||||
* Flash package: <a href="http://www.schillmania.com/projects/soundmanager2/">SoundManager2</a> by <a href="http://schillmania.com">Scott Schiller</a>
|
||||
* <a href="https://github.com/gasman/jasmid">jasmid</a>: Reads MIDI file byte-code, and translats into a Javascript array.
|
||||
* <a href="http://blog.danguer.com/2011/10/24/base64-binary-decoding-in-javascript/">base642binary.js</a>: Cleans up XML base64-requests for Web Audio API.
|
Loading…
Add table
Add a link
Reference in a new issue