这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit eb39ffe

Browse files
authored
Merge pull request #234 from dontcallmedom/respec-fixes
Editorial: Respec fixes
2 parents 29e654c + 2c6c05f commit eb39ffe

File tree

1 file changed

+10
-30
lines changed

1 file changed

+10
-30
lines changed

index.html

Lines changed: 10 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
},
2626
],
2727
github: "WebAudio/web-midi-api",
28-
wg: "Audio Working Group",
29-
wgURI: "https://www.w3.org/2011/audio/",
30-
wgPublicList: "public-audio",
31-
wgPatentURI: "https://www.w3.org/2004/01/pp-impl/46884/status",
28+
group: "wg/audio",
3229
previousPublishDate: "2013-11-26",
3330
previousMaturity: "WD",
3431
xref: {
@@ -513,13 +510,9 @@ <h2 id="MIDIAccess">
513510
<li>Let |port:MIDIPort| be the {{MIDIPort}} corresponding to the
514511
newly-available, or the existing port.
515512
</li>
516-
<li>Let |event:MIDIConnectionEvent| be a newly constructed
517-
{{MIDIConnectionEvent}}, with the {{MIDIConnectionEvent/port}}
518-
attribute set to the port.
519-
</li>
520513
<li>
521514
<a>Fire an event</a> named "statechange" at the {{MIDIAccess}},
522-
using the |event| as the event object.
515+
using {{MIDIConnectionEvent}} with {{MIDIConnectionEvent/port}} set to |port|.
523516
</li>
524517
</ol>
525518
</dd>
@@ -907,22 +900,16 @@ <h2 id="MIDIPort">
907900
<ol>
908901
<li>
909902
<p>
910-
Let <code>port</code> be the {{MIDIPort}}.
911-
</p>
912-
</li>
913-
<li>
914-
<p>
915-
Let <code>event</code> be a newly constructed
916-
{{MIDIConnectionEvent}}, with the <code>port</code> attribute set
917-
to the port.
903+
Let |port:MIDIPort| be the {{MIDIPort}}.
918904
</p>
919905
</li>
920906
<li>
921907
<p>
922908
<a>Fire an event</a> named <a data-lt=
923909
"MIDIPort.onstatechange">statechange</a> at the {{MIDIPort}}, and
924910
<a data-lt="MIDIAccess.onstatechange">statechange</a> at the
925-
{{MIDIAccess}}, using the <code>event</code> as the event object.
911+
{{MIDIAccess}}, using {{MIDIConnectionEvent}} with the {{MIDIConnectionEvent/port}} attribute set
912+
to |port|
926913
</p>
927914
</li>
928915
</ol>
@@ -962,7 +949,7 @@ <h3 id="MIDIInput">
962949
<ol>
963950
<li>
964951
<p>
965-
Let <code>port</code> be the {{MIDIInput}}.
952+
Let |port:MIDIInput| be the {{MIDIInput}}.
966953
</p>
967954
</li>
968955
<li>
@@ -974,21 +961,14 @@ <h3 id="MIDIInput">
974961
</li>
975962
<li>
976963
<p>
977-
Let <code>event</code> be a newly constructed
978-
<a>MIDIMessageEvent</a>, with the <code>timestamp</code>
964+
<a>Fire an event</a> named "midimessage" at
965+
|port|, using {{MIDIMessageEvent}} with the {{Event/timeStamp}}
979966
attribute set to the time the message was received by the
980-
system, and with the <code>data</code> attribute set to a
981-
Uint8Array of MIDI data bytes representing a single MIDI
967+
system, and with the {{MIDIMessageEvent/data}} attribute set to a
968+
{{Uint8Array}} of MIDI data bytes representing a single MIDI
982969
message.
983970
</p>
984971
</li>
985-
<li>
986-
<p>
987-
<a>Fire an event</a> named "midimessage" at the
988-
<code>port</code>, using the <code>event</code> as the event
989-
object.
990-
</p>
991-
</li>
992972
</ol>
993973
<p>
994974
It is specifically noted that MIDI System Real-Time Messages may

0 commit comments

Comments
 (0)