Bug 23092 - Clarify DelayNode timing specifics.
authorPaul Adenot <paul@paul.cx>
Mon, 02 Sep 2013 10:30:56 +0200
changeset 331 fbf524d2cc9b
parent 330 d5abda1da9fc
child 332 92183159c02b
Bug 23092 - Clarify DelayNode timing specifics.
webaudio/specification.html
--- a/webaudio/specification.html	Fri Aug 30 18:15:31 2013 +0200
+++ b/webaudio/specification.html	Mon Sep 02 10:30:56 2013 +0200
@@ -2023,10 +2023,13 @@
 The number of channels of the output always equals the number of channels of the input.
 </p>
 
-<p>It delays the incoming audio signal by a certain amount. The default
-amount is 0 seconds (no delay). When the delay time is changed, the
-implementation must make the transition smoothly, without introducing
-noticeable clicks or glitches to the audio stream. </p>
+<p>It delays the incoming audio signal by a certain amount. Specifically, at
+each time <em>t</em>, input signal <em>input(t)</em>, delay time
+<em>delayTime(t)</em> and output signal <em>output(t)</em>, the output will be
+<em> output(t) = input(t - delayTime(t))</em>. The default <code>delayTime</code> is 0
+seconds (no delay). When the delay time is changed, the implementation must make
+the transition smoothly, without introducing noticeable clicks or glitches to
+the audio stream. </p>
 
 <div class="block">
 
@@ -2051,7 +2054,7 @@
   <dt id="dfn-delayTime_2"><code>delayTime</code></dt>
     <dd><p>An AudioParam object representing the amount of delay (in seconds)
       to apply. Its default <code>value</code> is 0 (no
-      delay). The minimum value is 0 and the maximum value is determined by the <em>maxDelayTime</em>
+      delay). The minimum value is 0 and the maximum value is determined by the <code>maxDelayTime</code>
       argument to the <code>AudioContext</code> method <code>createDelay</code>.  This parameter is <em>a-rate</em></p>
     </dd>
 </dl>