Fixes to MIDI API
authorJussi Kalliokoski <jussi.kalliokoski@gmail.com>
Sun, 09 Sep 2012 11:18:26 +0300
changeset 159 c51f23cdcd61
parent 158 c5ecdca5be3f
child 160 500e7fed127c
Fixes to MIDI API

* Changed the wording from sending a MIDI message to enqueuing one.
* Changed the respec.js link to https:// so that the https version of the
spec works as well.
midi/specification.html
--- a/midi/specification.html	Thu Sep 06 16:25:40 2012 +0100
+++ b/midi/specification.html	Sun Sep 09 11:18:26 2012 +0300
@@ -23,7 +23,7 @@
       For the three scripts below, if your spec resides on dev.w3 you can check them
       out in the same tree and use relative links so that they'll work offline,
      -->
-    <script src='http://www.w3.org/Tools/respec/respec-w3c-common' class='remove'></script>
+    <script src='https://www.w3.org/Tools/respec/respec-w3c-common' class='remove'></script>
     <script class='remove'>
       var respecConfig = {
           specStatus:           "ED",
@@ -616,13 +616,14 @@
           <dt>void sendMIDIMessage(MIDIMessage message)</dt>
           <dd>
             <p>
-              Sends the MIDI message to the port.
+              Enqueues the message to be send to the corresponding MIDI port.
             </p>
           </dd>
-          <dt>void sendMessage(short data0, short? dataX)</dt>
+          <dt>void sendMessage(short status, short... data)</dt>
           <dd>
             <p>
-              Creates a new MIDI message of the data and sends it to the port.
+              Creates a new MIDI message of the given arguments and enqueues it
+              to be sent to the corresponding MIDI port.
             </p>
           </dd>
         </dl>