[Web MIDI API] timeStamp and timestamp

(Looping in Ms2ger and Cameron for guidance on DOM and WebIDL respectively…)

DOM4 Event defines:
readonly attribute DOMTimeStamp timeStamp;


While MIDIEvent [1] defines timestamp:  
readonly attribute DOMHighResTimeStamp timestamp;

I think that is going to lead to confusion. Perhaps it might be worth talking to the WebIDL people and getting them to up the precision of DOMTimeStamp? Or easier to just rename the MIDIEvent attribute? Cameron, thoughts?   

Additionally, MIDIEvent defines a data attribute:
readonly attribute Uint8Array  data;

IIRC, there has also been talk of adding a 'data' attribute directly on the DOMEvent interface (with and any type). Not sure how far along that proposal has come along. Ms2ger, any idea?   

[1] https://dvcs.w3.org/hg/audio/raw-file/tip/midi/specification.html#midievent-interface
--  
Marcos Caceres
http://datadriven.com.au

Received on Saturday, 15 December 2012 19:00:17 UTC