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: Chris Wilson <cwilso@google.com>
Date: Tue, 5 Jun 2012 09:57:29 -0700
Message-ID: <CAJK2wqWtWhDy5ww4XBCSy7X2KgYrWi07FC5-RsoYzrT=vX48xA@mail.gmail.com>
To: Philip Jägenstedt <philipj@opera.com>
Cc: Jussi Kalliokoski <jussi.kalliokoski@gmail.com>, Adam Goode <agoode@google.com>, public-audio@w3.org
Definite +1 to that.  Philip, what do you think of the timing type in MIDI?
 Should we have it be in seconds like Web Audio, or milliseconds?  (Will
come back to the reference point on the other thread.)

On Tue, Jun 5, 2012 at 6:12 AM, Philip Jägenstedt <philipj@opera.com> wrote:

> On Mon, 04 Jun 2012 21:36:20 +0200, Jussi Kalliokoski <
> jussi.kalliokoski@gmail.com> wrote:
>
>  Personally I think it's a bit confusing that Web Audio API uses seconds
>> instead of milliseconds, because like I said, most time related values on
>> the web are presented as milliseconds.
>>
>
> All the time-related properties on HTMLMediaElement are expressed in
> seconds. To have AudioContext use an milliseconds without also redefining
> the sample rates as samples / millisecond would be weird, so overall I'd
> prefer to just stick with seconds.
>
> --
> Philip Jägenstedt
> Core Developer
> Opera Software
>
Received on Tuesday, 5 June 2012 16:57:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 5 June 2012 16:58:00 GMT