W3C home > Mailing lists > Public > public-audio@w3.org > April to June 2013

Re: GainNode with gain > 1

From: Ehsan Akhgari <ehsan.akhgari@gmail.com>
Date: Mon, 6 May 2013 12:08:56 -0400
Message-ID: <CANTur_75J=t4GMF=XEYH+DOCyObFzpDejgqPhfy9kZt3QQuzJA@mail.gmail.com>
To: Ray Bellis <ray@bellis.me.uk>
Cc: "public-audio@w3.org" <public-audio@w3.org>
I'm not sure if the spec needs to talk about values larger than 1
explicitly.  It currently says that the node should multiply the input by
the gain value, and I see no reason to talk about specific values of the
gain node.  What I think we should do is to remove the mention of nominal
values here and everywhere else, and add test cases that make sure
implementations do not clamp the gain value when its absolute value is
greater than 1.

Cheers,

--
Ehsan
<http://ehsanakhgari.org/>


On Mon, May 6, 2013 at 10:56 AM, Ray Bellis <ray@bellis.me.uk> wrote:

> On 06/05/2013 15:44, Joseph Berkovitz wrote:
>
> > It seems to me that GainNode should support greater-than-unity gain
> > values.
>
> The GainNode absolutely has to be able to have very high gain values, as
> it's the only way to be able to scale the output of one oscillator to
> modulate the output of another via an AudioParam (i.e. for frequency
> modulation).
>
> In that mode, the ą1 output of the oscillator needs to be scaled up to
> the modulation frequency.
>
> Ray
>
>
>
>
Received on Monday, 6 May 2013 16:10:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:18 UTC