Tweaked MIDI channel reference as per Florian's comment. https://www.w3.org/Bugs/Public/show_bug.cgi?id=20254
authorChris Wilson <cwilso@gmail.com>
Mon, 10 Dec 2012 12:01:17 -0800
changeset 247 17650b57632e
parent 244 39efc30b003f
child 249 69179d08ab69
Tweaked MIDI channel reference as per Florian's comment. https://www.w3.org/Bugs/Public/show_bug.cgi?id=20254
midi/specification.html
--- a/midi/specification.html	Mon Dec 10 09:59:45 2012 -0800
+++ b/midi/specification.html	Mon Dec 10 12:01:17 2012 -0800
@@ -726,7 +726,7 @@
 
       <section>
         <h3>Sending MIDI Messages to an Output Device</h3>
-        <p>This example sends a middle C note on message immediately on MIDI channel 0, and queues a corresponding note off message for 1 second later.</p>
+        <p>This example sends a middle C note on message immediately on MIDI channel 1 (MIDI channels are 0-indexed, but generally referred to as 1-16), and queues a corresponding note off message for 1 second later.</p>
         <pre class="code es-code">function sendMiddleC( midiAccess, indexOfPort ) {
   var output = midiAccess.getOutput( indexOfPort );
   output.send( [0x90, 60, 0x7f] );  // note on, middle C, full velocity - omitting the timestamp means send immediately.