Skip to content

Commit

Permalink
Organize sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wilson committed Sep 27, 2023
1 parent 7e6e141 commit 045c4a9
Showing 1 changed file with 62 additions and 56 deletions.
118 changes: 62 additions & 56 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -337,63 +337,68 @@ <h2>
</ol>
</dd>
</dl>
<section data-dfn-for="MIDIOptions" data-link-for="Navigator">
<h2 id="MIDIOptions">
<dfn>MIDIOptions</dfn> Dictionary
</h2>
<p>
This dictionary contains optional settings that may be provided to
the {{requestMIDIAccess()}} request.
</p>
<pre class="idl">
dictionary MIDIOptions {
boolean sysex;
boolean software;
};
</pre>
<dl>
<dt>
<dfn>sysex</dfn>
</dt>
<dd>
<p>
This member informs the system whether the ability to send and
receive <a>System Exclusive</a> messages is requested or allowed
on a given {{MIDIAccess}} object. On the option passed to
{{requestMIDIAccess()}}, if this member is set to true, but
<a>System Exclusive</a> support is denied (either by policy or by
user action), the access request will fail with a
{{"SecurityError"}} error. If this support is not requested (and
allowed), the system will throw exceptions if the user tries to
send <a>System Exclusive</a> messages, and will silently mask out
any <a>System Exclusive</a> messages received on the port.
</p>
</dd>
<dt>
<dfn>software</dfn>
</dt>
<dd>
<p>
This member informs the system whether the ability to utilize any
software synthesizers installed in the host system is requested
or allowed on a given {{MIDIAccess}} object. On
{{requestMIDIAccess()}}, if this member is set to true, but
software synthesizer support is denied (either by policy or by
user action), the access request will fail with a
{{"SecurityError"}} error. If this support is not requested, the
system should not include any software synthesizers in the
{{MIDIAccess}} exposure of available ports.
</p>
<p>
Note that may result in a two-step request procedure if software
synthesizer support is desired but not required - software
synthesizers may be disabled when MIDI hardware device access is
allowed.
</p>
</dd>
</dl>
</section>
</section>
<section data-dfn-for="MIDIOptions" data-link-for="Navigator">
<h2 id="MIDIOptions">
<dfn>MIDIOptions</dfn> Dictionary
</h2>
<p>
This dictionary contains optional settings that may be provided to
the {{requestMIDIAccess()}} request.
</p>
<pre class="idl">
dictionary MIDIOptions {
boolean sysex;
boolean software;
};
</pre>
<dl>
<dt>
<dfn>sysex</dfn>
</dt>
<dd>
<p>
This member informs the system whether the ability to send and
receive <a>System Exclusive</a> messages is requested or allowed
on a given {{MIDIAccess}} object. On the option passed to
{{requestMIDIAccess()}}, if this member is set to true, but
<a>System Exclusive</a> support is denied (either by policy or by
user action), the access request will fail with a
{{"SecurityError"}} error. If this support is not requested (and
allowed), the system will throw exceptions if the user tries to
send <a>System Exclusive</a> messages, and will silently mask out
any <a>System Exclusive</a> messages received on the port.
</p>
</dd>
<dt>
<dfn>software</dfn>
</dt>
<dd>
<p>
This member informs the system whether the ability to utilize any
software synthesizers installed in the host system is requested
or allowed on a given {{MIDIAccess}} object. On
{{requestMIDIAccess()}}, if this member is set to true, but
software synthesizer support is denied (either by policy or by
user action), the access request will fail with a
{{"SecurityError"}} error. If this support is not requested, the
system should not include any software synthesizers in the
{{MIDIAccess}} exposure of available ports.
</p>
<p>
Note that may result in a two-step request procedure if software
synthesizer support is desired but not required - software
synthesizers may be disabled when MIDI hardware device access is
allowed.
</p>
</dd>
</dl>
</section>
</section>
<section>
<h2>
The MIDI API
</h2>
<section data-dfn-for="MIDIInputMap">
<h3 id="MIDIInputMap">
<dfn>MIDIInputMap</dfn> Interface
Expand Down Expand Up @@ -1299,6 +1304,7 @@ <h2 id="MIDIConnectionEventInit">
</dl>
</section>
</section>
</section>
<section>
<h2>
Security and Privacy Considerations of MIDI
Expand Down

0 comments on commit 045c4a9

Please sign in to comment.