From 54965d61d14fe1a4202b09e5574edf189f9e1007 Mon Sep 17 00:00:00 2001 From: Michael Wilson Date: Mon, 30 Dec 2024 10:11:27 -0800 Subject: [PATCH] Specify adding an EventListener also opens MIDIInput ports --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c3e5655..bbc4565 100644 --- a/index.html +++ b/index.html @@ -666,8 +666,9 @@

Makes the [=MIDI device=] corresponding to the {{MIDIPort}} explicitly available. Note that this call is NOT required in order to use the {{MIDIPort}}- calling send() on a - {{MIDIOutput}} or attaching a MIDIMessageEvent handler on a - {{MIDIInput}} will cause an implicit open(). The underlying + {{MIDIOutput}}, attaching a MIDIMessageEvent {{EventHandler}} on a + {{MIDIInput}}, or adding a MIDIMessageEvent {{EventListener}} on a + {{MIDIInput}} will cause an implicit open(). The underlying implementation may not need to do anything in response to this call. However, some underlying implementations may not be able to support shared access to [=MIDI devices=], so using explicit