getFrequencyResponse method

void getFrequencyResponse(
  1. JSFloat32Array frequencyHz,
  2. JSFloat32Array magResponse,
  3. 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,
);