Further clarifications on the AnalyserNode methods
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 02 Apr 2013 15:09:39 -0400
changeset 277 d666a17c340c
parent 276 43f3002685dd
child 278 f618876c86ce
Further clarifications on the AnalyserNode methods
webaudio/specification.html
--- a/webaudio/specification.html	Sun Mar 31 23:53:34 2013 -0400
+++ b/webaudio/specification.html	Tue Apr 02 15:09:39 2013 -0400
@@ -2998,7 +2998,8 @@
   method</dt>
     <dd><p>Copies the current frequency data into the passed floating-point
       array. If the array has fewer elements than the frequencyBinCount, the
-      excess elements will be dropped. </p>
+      excess elements will be dropped. If the array has more elements than
+      the frequencyBinCount, the excess elements will be ignored.</p>
       <p>The <dfn id="dfn-array">array</dfn> parameter is where
       frequency-domain analysis data will be copied. </p>
     </dd>
@@ -3008,7 +3009,8 @@
   method</dt>
     <dd><p>Copies the current frequency data into the passed unsigned byte
       array. If the array has fewer elements than the frequencyBinCount, the
-      excess elements will be dropped. </p>
+      excess elements will be dropped. If the array has more elements than
+      the frequencyBinCount, the excess elements will be ignored.</p>
       <p>The <dfn id="dfn-array_2">array</dfn> parameter is where
       frequency-domain analysis data will be copied. </p>
     </dd>
@@ -3018,7 +3020,8 @@
   method</dt>
     <dd><p>Copies the current time-domain (waveform) data into the passed
       unsigned byte array. If the array has fewer elements than the
-      frequencyBinCount, the excess elements will be dropped. </p>
+      fftSize, the excess elements will be dropped. If the array has more
+      elements than fftSize, the excess elements will be ignored.</p>
       <p>The <dfn id="dfn-array_3">array</dfn> parameter is where time-domain
       analysis data will be copied. </p>
     </dd>