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

[Bug 17400] (AudioGainScale): AudioGain scale underdefined

From: <bugzilla@jessica.w3.org>
Date: Tue, 12 Jun 2012 14:18:59 +0000
To: public-audio@w3.org
Message-Id: <E1SeRvv-0002tr-Ee@jessica.w3.org>

Philip J <philipj@opera.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
                 CC|                            |philipj@opera.com
         Resolution|FIXED                       |

--- Comment #3 from Philip J <philipj@opera.com> 2012-06-12 14:18:58 UTC ---
The question was answered (output = input * gain) but no normative requirements
on implementations were added. We suggest avoiding phrasing like "will" or

A "must" is missing in somewhere in the following:

"Every PCM audio sample in the input is multiplied by the gain parameter's
value for the specific time corresponding to that audio sample. This multiplied
value represents the PCM audio sample for the output. 

The number of channels of the output will always equal the number of channels
of the input, with each channel of the input being multiplied by the gain
values and being copied into the corresponding channel of the output."

They could also be replaced by something like "output[t] = gain[t] * input[t]"
given some basic definitions to support it, but that is editorial.

Editorial issues:

"By default, it will take the input and pass it through to the output
unchanged, which represents a constant gain change of 1." can be removed since
it's already defined in the attributes section.

"As with other <code>AudioParams</code>, the <code>gain</code> parameter
represents a mapping from time (in the coordinate system of
AudioContext.currentTime) to floating-point value." can be moved to the
AudioParam section since it is generally true, or removed.

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 12 June 2012 14:19:05 UTC

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