- From: Ehsan Akhgari <ehsan@mozilla.com>
- Date: Tue, 5 Feb 2013 00:50:03 -0500
- To: Chris Rogers <crogers@google.com>
- Cc: "public-audio@w3.org" <public-audio@w3.org>
- Message-ID: <CANTur_5toFX6-rVBXCm6dsH80nKQbCQtnxCnED2-4+D7-mXL9A@mail.gmail.com>
On Mon, Feb 4, 2013 at 8:27 PM, Chris Rogers <crogers@google.com> wrote: > > > On Mon, Feb 4, 2013 at 9:39 AM, Ehsan Akhgari <ehsan@mozilla.com> wrote: > >> The AudioParam definition in the spec relies on notions such as the >> previous time and previous value. So far I have assumed that when the spec >> is talking about the previous time or the previous value, it's talking >> about the time and value parameters of the previous event in the timeline. >> Is that true? >> >> It would be very helpful for somebody to clarify this section of the spec. >> > > Yes, that's the idea. I just did a quick search for "previous" in the > spec and see that's the meaning in nearly all cases. If there's something > specific I can clarify, I'll do my best to help out. > I think what is confusing is that the previous value might be taken as the computed value of the previous tick or something... But I'm not really sure how you could clarify it. One idea is to explicitly define what the time and value of each type of automation event is. Do you think that would make sense? Also, there is an edge case which I think the spec doesn't mention: what needs to happen when there is no previous event? In the Gecko implementation I have just assumed that we should take the default value where that's needed. Cheers, -- Ehsan <http://ehsanakhgari.org/>
Received on Tuesday, 5 February 2013 05:51:12 UTC