Re: [web-audio-api] (AudioParamSampling): AudioParam sampling is undefined (#142)

> [Original comment](https://www.w3.org/Bugs/Public/show_bug.cgi?id=17399#5) by Philip Jägenstedt on W3C Bugzilla. Tue, 12 Jun 2012 08:34:16 GMT

What spec says is now mostly correct, but the wrong part is normative. What implementation *actually* have to do is sample at the beginning of a each 128-sample block, but this is not normative. Conversely, the 3ms requirement *is* normative, even though 3ms at 8KHz is 24 samples and not what will actually be implemented.

Suggestion: Remove all mention of 3ms and state:

<p>
Implementations must use block processing, with each <code>AudioNode</code> processing 128 sample-frames in each block.
</p>

and

<p>
For each 128 sample-frame block, the value of a <em>k-rate</em> parameter must be sampled at the time of the very first sample-frame, and that value must be used for the entire block.
</p>

---
Reply to this email directly or view it on GitHub:
https://github.com/WebAudio/web-audio-api/issues/142#issuecomment-24244497

Received on Wednesday, 11 September 2013 14:30:36 UTC