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

Re: [Bug 17334] (setTargetValueAtTime): AudioParam.setTargetValueAtTime is misleading and underdefined

From: olivier Thereaux <olivier.thereaux@bbc.co.uk>
Date: Thu, 5 Jul 2012 16:04:41 +0100
Cc: Marcus Geelnard <mage@opera.com>, Chris Rogers <crogers@google.com>, Ray Bellis <ray@bellis.me.uk>, <public-audio@w3.org>
Message-Id: <FABCCB73-B23A-4FFF-9390-42797F710262@bbc.co.uk>
To: r baxter <baxrob@gmail.com>

On 29 Jun 2012, at 12:09, r baxter wrote:

> Hello, I'm new here.  Please excuse, or freely admonish, if this
> comment is more distracting than useful.
> Part of what I find confusing, in the spec as it reads, is that the
> function signature is divided.
> Why not:
> AudioParam.set(value, time)
> AudioParam.linearRamp(value, time)
> AudioParam.exponentialRamp(value, time)
> AudioParam.approach(target, time, k)
> AudioParam.curve(value_set, time, duration)

I keep going back to this, and frankly, I like it. I may suggest AudioParam.setValue rather than AudioParam.set - but maybe even that is not useful.


Received on Thursday, 5 July 2012 15:05:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 5 July 2012 15:05:03 GMT