From 3d823b6d5f27aaca61b678d02f7971d9751d2ac8 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 27 Oct 2021 16:48:39 -0400 Subject: [PATCH] Issue #220 - Link up some [=system exclusive=]s --- index.html | 62 +++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/index.html b/index.html index 85eee8e..0aacc09 100644 --- a/index.html +++ b/index.html @@ -198,17 +198,17 @@

Requesting MIDI access SHOULD prompt the user for access to MIDI - devices, particularly if system exclusive access is requested. In - some scenarios, this permission may have already been implicitly - or explicitly granted, in which case this prompt may not appear. - If the user gives [=express permission=] or the call is otherwise - approved, the vended Promise is resolved. The underlying system - may choose to allow the user to select specific MIDI interfaces - to expose to this API (i.e. pick and choose interfaces on an - individual basis), although this is not required. The system may - also choose to prompt (or not) based on whether system exclusive - support is requested, as system exclusive access has greater - privacy and security implications. + devices, particularly if [=system exclusive=] access is requested. + In some scenarios, this permission may have already been + implicitly or explicitly granted, in which case this prompt may + not appear. If the user gives [=express permission=] or the call + is otherwise approved, the vended Promise is resolved. The + underlying system may choose to allow the user to select specific + MIDI interfaces to expose to this API (i.e. pick and choose + interfaces on an individual basis), although this is not required. + The system may also choose to prompt (or not) based on whether + [=system exclusive=] support is requested, as [=system exclusive=] + access has greater privacy and security implications.

If the user declines or the call is denied for any other reason, @@ -338,19 +338,19 @@

This member informs the system whether the ability to send and - receive system exclusive messages is requested or allowed on a + receive [=system exclusive=] messages is requested or allowed on a given {{MIDIAccess}} object. On the option passed to {{requestMIDIAccess()}}, if this member is set to true, but - system exclusive 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 system exclusive - messages, and will silently mask out any system exclusive - messages received on the port. + [=system exclusive=] 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 [=system exclusive=] messages, and will silently mask out any + [=system exclusive=] messages received on the port.

- `{name: "midi", sysex: true}` is [=PermissionDescriptor/stronger than=] `{name: - "midi", sysex: false}`. + `{name: "midi", sysex: true}` is + [=PermissionDescriptor/stronger than=] `{name: "midi", sysex: false}`.

@@ -375,8 +375,8 @@

allowed.

- `{name: "midi", software: true}` is [=PermissionDescriptor/stronger than=] `{name: - "midi", software: false}`. + `{name: "midi", software: true}` is + [=PermissionDescriptor/stronger than=] `{name: "midi", software: false}`.

@@ -520,8 +520,8 @@

sysexEnabled

- This attribute informs the user whether system exclusive support is - enabled on this MIDIAccess. + This attribute informs the user whether [=system exclusive=] support + is enabled on this MIDIAccess.
@@ -960,9 +960,9 @@

  • - If the {{MIDIAccess}} did not enable system exclusive access, - and the message is a system exclusive message, abort this - process. + If the {{MIDIAccess}} did not enable [=system exclusive=] + access, and the message is a [=system exclusive=] message, abort + this process.

  • @@ -1028,9 +1028,9 @@

    a valid MIDI message, throw a TypeError exception.

    - If data is a system exclusive message, and the - {{MIDIAccess}} did not enable system exclusive access, throw an - InvalidAccessError exception. + If data is a [=system exclusive=] message, and the + {{MIDIAccess}} did not enable [=system exclusive=] access, throw + an InvalidAccessError exception.

    If the port is

    This example shows how to request access to the MIDI system, - including the ability to send and receive system exclusive + including the ability to send and receive [=system exclusive=] messages.

    var midi = null;  // global MIDIAccess object