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

Re: [Web MIDI API] MIDIEvent should have a port attribute

From: Marcos Caceres <w3c@marcosc.com>
Date: Sun, 23 Dec 2012 20:35:29 +0000
To: "public-audio@w3.org" <public-audio@w3.org>
Message-ID: <156A8666B67241FCBC5446B803EFCBD0@marcosc.com>


-- 
Marcos Caceres
http://datadriven.com.au


On Sunday, 23 December 2012 at 20:34, Marcos Caceres wrote:

> 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 {
Whoops, I mean: 

interface MIDIEvent : Event {
> readonly attribute MIDIPort port; 
> ...
> }
> 
> 
> -- 
> Marcos Caceres
> http://datadriven.com.au
Received on Sunday, 23 December 2012 20:35:59 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:04 UTC