W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2013

Re: Seeking guidance on MIDIMessageEvent design, was Fw: [MIDI] bump: Issue 1: MIDIEvent lacking constructor

From: Ms2ger <ms2ger@gmail.com>
Date: Mon, 15 Apr 2013 10:54:52 +0200
Message-ID: <516BC05C.9080302@gmail.com>
To: Marcos Caceres <w3c@marcosc.com>
CC: www-dom@w3.org, Chris Wilson <cwilso@google.com>
Hi Marcos,

On 04/14/2013 10:50 PM, Marcos Caceres wrote:
> The Web Audio WG is seeking guidance from the DOM WG on the design of an event driven API (Web MIDI API [1]). In particular, the Web MIDI defines a "MIDIMessageEvent" [2] (representing the receipt of a MIDI message resulting from, for example, a key on a synth being pressed).
> The question that has come up is if the MIDIMessageEvent should define a constructor (similar to those defined by other *Event) in the platform (see email below).

Yes, such a constructor should be defined for all event interfaces.


> [1] http://webaudio.github.io/web-midi-api/
> [2] http://webaudio.github.io/web-midi-api/#midimessageevent-interface
> [3] https://github.com/WebAudio/web-midi-api/issues/1
Received on Monday, 15 April 2013 08:55:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:02 UTC