Clarify that WaveShaperNode.curve can be null
authorEhsan Akhgari <ehsan@mozilla.com>
Sun, 12 May 2013 13:35:02 -0400
changeset 312 2c98b0794984
parent 311 cfe4ae147c64
child 313 85d08ccc69a8
Clarify that WaveShaperNode.curve can be null
webaudio/specification.html
--- a/webaudio/specification.html	Mon May 06 21:09:00 2013 -0400
+++ b/webaudio/specification.html	Sun May 12 13:35:02 2013 -0400
@@ -3603,7 +3603,7 @@
 
 interface <dfn id="dfn-WaveShaperNode">WaveShaperNode</dfn> : AudioNode {
 
-    attribute Float32Array curve;
+    attribute Float32Array? curve;
 
 };
 </code></pre>
@@ -3620,7 +3620,8 @@
       corresponding to the center value of the curve array. Any sample value
       less than -1 will correspond to the first value in the curve array. Any
       sample value less greater than +1 will correspond to the last value in
-      the curve array. </p>
+      the curve array. Initially the curve attribute is null, which means that
+      the WaveShaperNode will pass its input to its output without modification.</p>
     </dd>
 </dl>
 </div>