[whatwg] Timing API proposal for measuring intervals
callow_mark at hicorp.co.jp
Fri Jul 8 03:32:24 PDT 2011
On 08/07/2011 11:54, James Robinson wrote:
> True. On OS X, however, the CoreVideo and CoreAudio APIs are specified to
> use a unified time base (see
> so if we do end up with APIs saying "play this sound at time X", like Chris
> Roger's proposed Web Audio API provides, it'll be really handy if we have a
> unified timescale for everyone to refer to.
If you are to have any hope of synchronizing a set of media streams you
need a common timebase. In TV studios it is called house sync. In the
first computers capable of properly synchronizing media streams and in
the OpenML specification it was called UST (Unadjusted System Time).
This is the "monotonic uniformly increasing hardware timestamp" referred
to in the Web Audio API proposal. Plus ça change. Plus ça même. For
synchronization purposes, animation is just another media stream and it
must use the same timebase as audio and video.
More information about the whatwg