Discrepancy in the definition of calculateNormalizationScale

The calculateNormalizationScale function in the spec has been copied
verbatim from the WebKit source code, and the WebKit function has changed
since then <
http://trac.webkit.org/browser/trunk/Source/WebCore/platform/audio/Reverb.cpp#L59>.
If these changes have been intentional, they should be reflected in the
spec.  Otherwise we should probably file a WebKit bug to revert them.

Also, it seems like that function is specific to an AudioContext with a
sampling rate of 44100.  If that is the case, the function in the spec
should be reworded to use AudioContext.sampleRate instead.

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

Received on Tuesday, 2 April 2013 22:10:26 UTC