W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2012

Re: Audio-ISSUE-105 (MIDI timestamp resolution): timestamps in MIDI should use High Resolution Time [MIDI API]

From: Jussi Kalliokoski <jussi.kalliokoski@gmail.com>
Date: Fri, 1 Jun 2012 18:48:16 +0300
Message-ID: <CAJhzemWtz0QM_c3TMix2kvhLxsTBrAWzeyn_cqSDemSwJObZZA@mail.gmail.com>
To: Audio Working Group <public-audio@w3.org>
This issue is now pending review per
https://dvcs.w3.org/hg/audio/rev/b78b7c5e906e .

On Fri, Jun 1, 2012 at 6:22 PM, Jussi Kalliokoski <
jussi.kalliokoski@gmail.com> wrote:

> Good catch, thank you! As I planned it, the timestamp should have been a
> floating point value, allowing for sub-millisecond precision, but actually
> DOMHighResTimeStamp is actually more fit fore this.
> I will make the necessary changes to the spec.
>
> Cheers,
> Jussi
>
>
> On Fri, Jun 1, 2012 at 6:16 PM, Audio Working Group Issue Tracker <
> sysbot+tracker@w3.org> wrote:
>
>> 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
>>
>>
>>
>>
>
Received on Friday, 1 June 2012 15:48:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 1 June 2012 15:48:55 GMT