[Bug 17335] (setValueCurveAtTime): AudioParam.setValueCurveAtTime

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17335

Chris Rogers <crogers@google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Chris Rogers <crogers@google.com> ---
(In reply to comment #2)
> I think the level of detail in the new text is good. One thing that seems to
> be missing though is what the value is when t < time and t >= time +
> duration, respectively (most likely values[0] and values[N-1], respectively).
> 
> Also, the expression "v(t) = values[N * (t - time) / duration]" is
> effectively nearest interpolation. Is that intended? Linear interpolation
> seems more logical.

The idea is that the number of points in the Float32Array can be large so that
the curve data is effectively over-sampled and linear interpolation is not
necessary.

Fixed:
https://dvcs.w3.org/hg/audio/rev/a658660f3174

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 4 December 2012 23:28:23 UTC