Add methods to compute magnitude and phase response for biquads
[WebKit-https.git] / Source / WebCore / webaudio / BiquadFilterNode.idl
index 5861b889ccf5725bc2d8dd94ac2e498ef826de6d..84e015aa3381505417b1501653344c3e87cf625f 100644 (file)
@@ -43,5 +43,9 @@ module audio {
         readonly attribute AudioParam frequency; // in Hertz
         readonly attribute AudioParam Q; // Quality factor
         readonly attribute AudioParam gain; // in Decibels
+
+        void getFrequencyResponse(in Float32Array frequencyHz,
+                                  in Float32Array magResponse,
+                                  in Float32Array phaseResponse);
     };
 }