getFrequencyResponse method
void
getFrequencyResponse(
- JSFloat32Array frequencyHz,
- JSFloat32Array magResponse,
- JSFloat32Array phaseResponse
The getFrequencyResponse()
method of the BiquadFilterNode interface
takes the current filtering algorithm's settings and calculates the
frequency response for frequencies specified in a specified array of
frequencies.
The two output arrays, magResponseOutput
and
phaseResponseOutput
, must be created before calling this method; they
must be the same size as the array of input frequency values
(frequencyArray
).
Implementation
external void getFrequencyResponse(
JSFloat32Array frequencyHz,
JSFloat32Array magResponse,
JSFloat32Array phaseResponse,
);