W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2013

Re: [web-audio-api] (linearRampToValueAtTime): AudioParam.linearRampToValueAtTime start and finish (#130)

From: Olivier Thereaux <notifications@github.com>
Date: Wed, 11 Sep 2013 07:29:48 -0700
To: WebAudio/web-audio-api <web-audio-api@noreply.github.com>
Message-ID: <WebAudio/web-audio-api/issues/130/24244394@github.com>
> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17332#1) by Marcus Geelnard (Opera) on W3C Bugzilla. Tue, 12 Jun 2012 07:58:15 GMT

That certainly makes it more clear. Two things:

- It is not clear what should happen if several events of different types occur at the same time. For instance, it would lead to division by zero in some of the equations. It seems to me that the only valid case of having events occur at the exact same time is to have a non-setValueAtTime event followed by a setValueAtTime (other kinds of events should effectively degrade to setValueAtTime, right?).

- For ramps, it is not defined what should happen if there are no previous events (e.g. if linearRampToValueAtTime is the first event in the list).

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/130#issuecomment-24244394
Received on Wednesday, 11 September 2013 14:35:19 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:11 UTC