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

Re: GainNode with gain > 1

From: Joseph Berkovitz <joe@noteflight.com>
Date: Mon, 6 May 2013 14:16:02 -0400
Cc: Ray Bellis <ray@bellis.me.uk>, "public-audio@w3.org" <public-audio@w3.org>
Message-Id: <41C233D7-7C20-4796-A11E-A27BC42C65E3@noteflight.com>
To: Ehsan Akhgari <ehsan.akhgari@gmail.com>
I'm in agreement with both these points, thank you.

On May 6, 2013, at 12:08 PM, Ehsan Akhgari <ehsan.akhgari@gmail.com> wrote:

> 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
> 
> 
> 
> 

.            .       .    .  . ...Joe

Joe Berkovitz
President

Noteflight LLC
Boston, Mass.
phone: +1 978 314 6271
www.noteflight.com
"Your music, everywhere"


Received on Monday, 6 May 2013 18:16:32 UTC

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