This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17416 - (MIDI timestamp resolution): timestamps in MIDI should use High Resolution Time
Summary: (MIDI timestamp resolution): timestamps in MIDI should use High Resolution Time
Status: CLOSED FIXED
Alias: None
Product: AudioWG
Classification: Unclassified
Component: MIDI API (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: TBD
Assignee: This bug has no owner yet - up for the taking
QA Contact: This bug has no owner yet - up for the taking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 12:46 UTC by Michael[tm] Smith
Modified: 2012-11-15 09:58 UTC (History)
4 users (show)

See Also:


Attachments

Description Michael[tm] Smith 2012-06-05 12:46:57 UTC
Audio-ISSUE-105 (MIDI timestamp resolution): timestamps in MIDI should use High Resolution Time [MIDI API]

http://www.w3.org/2011/audio/track/issues/105

Raised by: Adam Goode
On product: MIDI API

The current MIDI API specifies timestamp as a long representing "milliseconds from the UNIX Epoch".

For MIDI applications, millisecond resolution is insufficient and can cause noticeable jitter.

Using absolute wallclock time is also problematic, as it is subject to system clock skew.

The MIDI timestamp should use High Resolution Time (DOMHighResTimeStamp), which solves these problems:
http://dvcs.w3.org/hg/webperf/raw-file/tip/specs/HighResolutionTime/Overview.html
Comment 1 Olivier Thereaux 2012-06-07 15:06:57 UTC
Proposed changeset: https://dvcs.w3.org/hg/audio/rev/b78b7c5e906e
Comment 2 Olivier Thereaux 2012-06-07 15:08:00 UTC
Discussion thread since proposed changeset: 
http://lists.w3.org/Archives/Public/public-audio/2012AprJun/thread.html#msg497
Comment 3 Chris Wilson 2012-10-15 18:27:30 UTC
General acceptance of HRT.
Comment 4 Olivier Thereaux 2012-10-24 09:13:31 UTC
(In reply to comment #3)
> General acceptance of HRT.

From the e-mail thread (linked above) I see Philip expressed preference for seconds, but did not have a strong objection. 

Giving the group another occasion to object, but I think we have reasonable consensus around HRT at this time.
Comment 5 Olivier Thereaux 2012-11-15 09:58:54 UTC
(In reply to comment #4)
> Giving the group another occasion to object, but I think we have reasonable
> consensus around HRT at this time.

Closing.