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

[Web MIDI API] timeStamp and timestamp

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Sat, 15 Dec 2012 18:59:46 +0000
To: "public-audio@w3.org" <public-audio@w3.org>
Cc: Ms2ger <ms2ger@gmail.com>, Cameron McCormack <cam@mcc.id.au>
Message-ID: <B838281DB85341E2A2F8A596AE884942@gmail.com>
(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

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