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:02:50 -0800
changeset 248 18f8ace40708
parent 246 054ac956526f
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 11:59:36 2012 -0800
+++ b/midi/specification.html	Mon Dec 10 12:02:50 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 channels 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.