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

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

From: Marcus Geelnard <mage@opera.com>
Date: Mon, 09 Jul 2012 10:48:00 +0200
To: public-audio@w3.org, "r baxter" <baxrob@gmail.com>
Message-ID: <op.wg572azfm77heq@mage-desktop>
Den 2012-06-29 13:01:52 skrev r baxter <baxrob@gmail.com>:

> 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)
>
> or such?

+1

It's clearer, and I like the shorter names too...

/Marcus




-- 
Marcus Geelnard
Core Graphics Developer
Opera Software ASA
Received on Monday, 9 July 2012 08:48:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 July 2012 08:48:35 GMT