diff --git a/index.html b/index.html index 9992dc13f..518372f11 100644 --- a/index.html +++ b/index.html @@ -9796,8 +9796,11 @@

- Given the current filter parameter settings, calculates the - frequency response for the specified frequencies. + Given the current filter parameter + settings, synchronously calculates the frequency response for the + specified frequencies. The three parameters MUST be + Float32Arrays of the same length, or an + InvalidAccessError MUST be thrown.

@@ -9811,19 +9814,37 @@

Float32Array magResponse

- This parameter specifies an output array receiving the linear - magnitude response values. If this array is shorter than - frequencyHz a - NotSupportedError MUST be signaled. +

+ This parameter specifies an output array receiving the linear + magnitude response values. +

+

+ If a value in the frequencyHz parameter is not + within [0; sampleRate/2], where sampleRate is + the value of the sampleRate + property of the AudioContext, the corresponding value + at the same index of the magResponse array MUST + be NaN. +

Float32Array phaseResponse
- This parameter specifies an output array receiving the phase - response values in radians. If this array is shorter than - frequencyHz a - NotSupportedError MUST be signaled. +

+ This parameter specifies an output array receiving the phase + response values in radians. +

+

+ If a value in the frequencyHz parameter is not + within [0; sampleRate/2], where sampleRate is + the value of the sampleRate + property of the AudioContext, the corresponding value + at the same index of the phaseResponse array + MUST be NaN. +