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

Re: DynamicsCompressorNode.reduction is read-only AudioParam ?

From: s p <sebpiq@gmail.com>
Date: Wed, 28 Aug 2013 23:46:44 +0400
Message-ID: <CAGKuoCUG8KTMVs0YEzph3y9ME4B1i1TRm0HTRZCGgZ18EQf58g@mail.gmail.com>
To: Chris Wilson <cwilso@google.com>
Cc: Paul Adenot <paul@paul.cx>, "public-audio@w3.org" <public-audio@w3.org>
> it's relatively non-obvious how to show a meter of reduction

It is equally non-obvious to show a level-meter for example. But rather
easy in fact with a ScriptProcessorNode, ... I would say it is even less
obvious how to use a read-only monitor value as the input for a param or
>From a dsp perspective, I certainly prefer having a control signal as
output, that I can plug-in to another node.

As there is no good solution, probably the one that is the most consistent
with the spec is the nicest! I cannot think of a place where a "dsp"
read-only value is provided (except in AudioParam) ... but I cannot think
of a node that outputs a control signal either.

2013/8/28 Chris Wilson <cwilso@google.com>

> On Wed, Aug 28, 2013 at 12:20 PM, s p <sebpiq@gmail.com> wrote:
>> > We would still make the reduction a read only float, because it would
>> really be a monitoring value.
>> If you want to make an envelope follower, an output would probably be
>> more useful, as you could plug-it directly to a gain for example.
> Although that's true, one problem is that it's relatively non-obvious how
> to show a meter of reduction (or overall volume, for that matter).  The
> reduction output as a read only floating-point value is valuable for that
> purpose.
Received on Wednesday, 28 August 2013 19:47:11 UTC

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