--- a/webaudio/specification.html Mon Dec 10 09:59:45 2012 -0800
+++ b/webaudio/specification.html Mon Dec 10 11:34:44 2012 -0800
@@ -596,7 +596,7 @@
// Connect final compressor to final destination.
compressor.connect(context.destination);
- // Connect master dry & wet to compressor.
+ // Connect master dry and wet to compressor.
masterDry.connect(compressor);
masterWet.connect(compressor);
@@ -740,7 +740,6 @@
distortion and other more subtle warming effects. </li>
</ul>
</div>
-</div>
<div id="conformance-section" class="section">
<h2 id="conformance">2. Conformance</h2>
@@ -1027,7 +1026,7 @@
</dl>
<dl>
<dt id="dfn-createScriptProcessor">The <code>createScriptProcessor</code>
- method (please see the <a href=#deprecation-section>deprecation section</a> about name change)</dt>
+ method (please see the <a href="#deprecation-section">deprecation section</a> about name change)</dt>
<dd><p>Creates a <a
href="#ScriptProcessorNode"><code>ScriptProcessorNode</code></a> for
direct audio processing using JavaScript. An exception will be thrown if <code>bufferSize</code> or <code>numberOfInputChannels</code> or <code>numberOfOutputChannels</code>
@@ -1057,13 +1056,13 @@
</dd>
</dl>
<dl>
- <dt id="dfn-createGain">The <code>createGain</code> method (please see the <a href=#deprecation-section>deprecation section</a> about name change)</dt>
+ <dt id="dfn-createGain">The <code>createGain</code> method (please see the <a href="#deprecation-section">deprecation section</a> about name change)</dt>
<dd><p>Creates a <a
href="#GainNode-section"><code>GainNode</code></a>.</p>
</dd>
</dl>
<dl>
- <dt id="dfn-createDelay">The <code>createDelay</code> method (please see the <a href=#deprecation-section>deprecation section</a> about name change)</dt>
+ <dt id="dfn-createDelay">The <code>createDelay</code> method (please see the <a href="#deprecation-section">deprecation section</a> about name change)</dt>
<dd><p>Creates a <a href="#DelayNode-section"><code>DelayNode</code></a>
representing a variable delay line. The initial default delay time will
be 0 seconds.</p>
@@ -1182,7 +1181,6 @@
var offlineContext = new OfflineAudioContext(unsigned long numberOfChannels, unsigned long length, float sampleRate);
</pre>
-<br>
<p>
</p>
@@ -1324,6 +1322,7 @@
<p>
There can only be one connection between a given output of one specific node and a given input of another specific node.
Multiple connections with the same termini are ignored. For example:
+ </p>
<pre>
nodeA.connect(nodeB);
@@ -1333,7 +1332,6 @@
nodeA.connect(nodeB);
</pre>
- </p>
</dd>
</dl>
@@ -1361,6 +1359,7 @@
<p>
There can only be one connection between a given output of one specific node and a specific AudioParam.
Multiple connections with the same termini are ignored. For example:
+ </p>
<pre>
nodeA.connect(param);
@@ -1370,7 +1369,6 @@
nodeA.connect(param);
</pre>
- </p>
</dd>
</dl>
@@ -1589,7 +1587,7 @@
The final value controlling the audio DSP is calculated as follows:
</p>
- <p>
+
<ol>
<li>An <em>intrinsic</em> parameter value will be calculated at each time, which is either the value set directly to the .value attribute,
@@ -1612,7 +1610,7 @@
</li>
</ol>
- </p>
+
<p>
The <em>computedValue</em> is constantly being updated by the audio rendering thread at each rendering time quantum.
@@ -1748,7 +1746,7 @@
</dl>
<dl>
<dt id="dfn-setTargetAtTime">The <code>setTargetAtTime</code>
- method (please see the <a href=#deprecation-section>deprecation section</a> about name change)</dt>
+ method (please see the <a href="#deprecation-section">deprecation section</a> about name change)</dt>
<dd><p>Start exponentially approaching the target value at the given time
with a rate having the given time constant. Among other uses, this is
useful for implementing the "decay" and "release" portions of an ADSR
@@ -1808,7 +1806,7 @@
method</dt>
<dd><p>Cancels all scheduled parameter changes with times greater than or
equal to startTime.</p>
- <p>The <dfn id="dfn-startTime">startTime</dfn> parameter is the starting
+ <p>The <dfn>startTime</dfn> parameter is the starting
time at and after which any previously scheduled parameter changes will
be cancelled. It is a time in the same time coordinate system as AudioContext.currentTime.</p>
</dd>
@@ -2152,7 +2150,7 @@
<h3 id="methodsandparams-AudioBufferSourceNode">4.10.2. Methods and
Parameters</h3>
<dl>
- <dt id="dfn-start">The <code>start</code> method (please see the <a href=#deprecation-section>deprecation section</a> about name change)</dt>
+ <dt id="dfn-start">The <code>start</code> method (please see the <a href="#deprecation-section">deprecation section</a> about name change)</dt>
<dd><p>Schedules a sound to playback at an exact time.</p>
<p>The <dfn id="dfn-when">when</dfn> parameter describes at what time (in
seconds) the sound should start playing. It is in the same
@@ -2173,8 +2171,8 @@
</dd>
</dl>
<dl>
- <dt id="dfn-stop">The <code>stop</code> method (please see the <a href=#deprecation-section>deprecation section</a> about name change)</dt>
- <dd><p>Schedules a sound to stop playback at an exact time. Please see <a href=#deprecation-section>deprecation section</a> for the old method name.</p>
+ <dt id="dfn-stop">The <code>stop</code> method (please see the <a href="#deprecation-section">deprecation section</a> about name change)</dt>
+ <dd><p>Schedules a sound to stop playback at an exact time. Please see <a href="#deprecation-section">deprecation section</a> for the old method name.</p>
<p>The <dfn id="dfn-when_AudioBufferSourceNode_2">when</dfn> parameter
describes at what time (in seconds) the sound should stop playing.
It is in the same time coordinate system as AudioContext.currentTime.
@@ -2202,7 +2200,7 @@
<blockquote>
<pre>
- if ((loopStart || loopEnd) && loopStart >= 0 && loopEnd > 0 && loopStart < loopEnd) {
+ if ((loopStart || loopEnd) && loopStart >= 0 && loopEnd > 0 && loopStart < loopEnd) {
actualLoopStart = loopStart;
actualLoopEnd = min(loopEnd, buffer.length);
} else {
@@ -2281,7 +2279,7 @@
<pre class="code"><code class="es-code">
var mediaElement = document.getElementById('mediaElementID');
var sourceNode = context.createMediaElementSource(mediaElement);
-sourceNode.connect(filterNode);</code></pre>
+sourceNode.connect(filterNode);
</code></pre>
</div>
</div>
@@ -3569,13 +3567,13 @@
</dl>
<dl>
<dt id="dfn-start-AudioBufferSourceNode">The <code>start</code>
- method (please see the <a href=#deprecation-section>deprecation section</a> about name change)</dt>
+ method (please see the <a href="#deprecation-section">deprecation section</a> about name change)</dt>
<dd><p>defined as in <a href="#AudioBufferSourceNode-section"><code>AudioBufferSourceNode</code></a>. </p>
</dd>
</dl>
<dl>
<dt id="dfn-stop-AudioBufferSourceNode">The <code>stop</code>
- method (please see the <a href=#deprecation-section>deprecation section</a> about name change)</dt>
+ method (please see the <a href="#deprecation-section">deprecation section</a> about name change)</dt>
<dd><p>defined as in <a href="#AudioBufferSourceNode-section"><code>AudioBufferSourceNode</code></a>. </p>
</dd>
</dl>
@@ -4285,7 +4283,7 @@
<div class="blockTitleDiv">
<div class="blockContent">
<pre class="code"><code class="idl-code">
-if (source.orientation.isZero() || ((source.coneInnerAngle == 360) && (source.coneOuterAngle == 360)))
+if (source.orientation.isZero() || ((source.coneInnerAngle == 360) && (source.coneOuterAngle == 360)))
return 1; // no cone specified - unity gain
// Normalized source-listener vector
@@ -4305,10 +4303,10 @@
double absOuterAngle = fabs(source.coneOuterAngle) / 2;
double gain = 1;
-if (absAngle <= absInnerAngle)
+if (absAngle <= absInnerAngle)
// No attenuation
gain = 1;
-else if (absAngle >= absOuterAngle)
+else if (absAngle >= absOuterAngle)
// Max attenuation
gain = source.coneOuterGain;
else {
@@ -4928,8 +4926,8 @@
"HRTF",
"soundfield"
}
+</pre>
</blockquote>
-</pre>
<blockquote>
<pre>
@@ -4946,8 +4944,8 @@
"inverse",
"exponential"
}
+</pre>
</blockquote>
-</pre>
@@ -4976,8 +4974,8 @@
"notch",
"allpass"
}
+</pre>
</blockquote>
-</pre>
<blockquote>
<pre>
@@ -4998,8 +4996,8 @@
"triangle",
"custom"
}
+</pre>
</blockquote>
-</pre>
@@ -5100,7 +5098,7 @@
date: Mon Dec 03 15:19:22 2012 -0800
summary: Bug 17411: (AudioPannerNodeUnits): AudioPannerNode units are underspecified
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Thu Nov 29 15:59:38 2012 -0500
summary: Change the Web IDL description of decodeAudioData arguments
@@ -5158,21 +5156,21 @@
user: crogers
date: Tue Nov 13 12:57:02 2012 -0800
-summary: Bug 19910: Disallow AudioContext.createDelay(max) where max <= 0
+summary: Bug 19910: Disallow AudioContext.createDelay(max) where max <= 0
user: crogers
date: Mon Nov 12 12:02:18 2012 -0800
summary: Add example code for more complex example
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Thu Nov 01 11:32:39 2012 -0400
summary: Specify the default value for the AudioContext.createDelay() optional argument in Web IDL
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Tue Oct 30 20:29:48 2012 -0400
summary: Mark the AudioParam members as readonly
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Tue Oct 30 20:24:52 2012 -0400
summary: Make GainNode and DelayNode valid Web IDL
@@ -5256,7 +5254,7 @@
date: Tue Oct 02 12:28:55 2012 -0700
summary: Fix Issues 17338 and 17337: AudioGain interface is not needed
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Wed Sep 26 18:22:36 2012 -0400
summary: Make AudioBufferSourceNode.buffer nullable
@@ -5264,23 +5262,23 @@
date: Tue Sep 25 12:56:14 2012 -0700
summary: noteOn/noteOff changed to start/stop -- added deprecation notes
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Fri Aug 24 18:27:29 2012 -0400
summary: Make the AudioContext object have a constructor
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Fri Aug 24 15:54:10 2012 -0400
summary: Denote IDL definitions as Web IDL
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Fri Aug 24 15:04:37 2012 -0400
summary: Use `long` instead of `int`, since the int type doesn't exist in Web IDL
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Fri Aug 24 15:02:43 2012 -0400
summary: Add a missing attribute keyword in AudioProcessingEvent
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Tue Aug 21 15:36:48 2012 -0400
summary: Remove the 'raises' notation from the IDLs
@@ -5296,39 +5294,39 @@
date: Thu Aug 16 14:53:54 2012 -0700
summary: use local style sheet to avoid https errors
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Wed Aug 15 23:05:49 2012 -0400
summary: Replace the white-space based indentation of Web IDL code with a CSS-based one
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Wed Aug 15 22:56:03 2012 -0400
summary: Remove more useless trailing whitespaces
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Wed Aug 15 22:47:21 2012 -0400
summary: Remove the optional 'in' keyword from the Web IDL method declarations
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Wed Aug 15 22:42:03 2012 -0400
summary: Add trailing semicolons for Web IDL interface declarations
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Wed Aug 15 22:37:32 2012 -0400
summary: Remove useless trailing spaces
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Wed Aug 15 22:35:33 2012 -0400
summary: Use the correct Web IDL notation for the AudioBufferCallback callback type
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Wed Aug 15 22:28:37 2012 -0400
summary: Remove the extra semicolon in the IDL file for AudioContext
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Wed Aug 15 22:24:02 2012 -0400
summary: Replace the old [Optional] IDL tag with the Web IDL optional keyword
-user: Ehsan Akhgari <ehsan@mozilla.com>
+user: Ehsan Akhgari (Mozilla)
date: Tue Aug 14 10:18:19 2012 -0400
summary: Empty changeset to test my commit access