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

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.

HTH
Ms2ger

> [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