W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2012

[Web MIDI API] MIDIEvent should have a port attribute

From: Marcos Caceres <w3c@marcosc.com>
Date: Sun, 23 Dec 2012 20:34:06 +0000
To: "public-audio@w3.org" <public-audio@w3.org>
Message-ID: <8752418E4434492C91CD725FD98B3CD7@marcosc.com>
In situations where there are multiple sources attached to a device, it is important to distinguish which MIDI output emitted a particular message. As such, I recommend adding a port attribute to the MIDIEvent interface:

interface MIDIPort : EventTarget {
    readonly attribute MIDIPort  port; 

Marcos Caceres
Received on Sunday, 23 December 2012 20:34:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:14 UTC