--- a/webaudio/specification.html Wed Aug 15 22:47:21 2012 -0400
+++ b/webaudio/specification.html Wed Aug 15 22:56:03 2012 -0400
@@ -703,7 +703,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
callback AudioBufferCallback = void (AudioBuffer decodedData);
@@ -1049,7 +1049,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioNode">AudioNode</dfn> {
@@ -1200,7 +1200,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioSourceNode">AudioSourceNode</dfn> : AudioNode {
@@ -1231,7 +1231,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioDestinationNode">AudioDestinationNode</dfn> : AudioNode {
@@ -1298,7 +1298,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioParam">AudioParam</dfn> {
@@ -1318,7 +1318,7 @@
<span class="comment">// Sets an array of arbitrary parameter values starting at time for the given duration. </span>
<span class="comment">// The number of values will be scaled to fit into the desired duration. </span>
void setValueCurveAtTime(Float32Array values, float time, float duration);
-
+
<span class="comment">// Cancels all scheduled parameter changes with times greater than or equal to startTime. </span>
void cancelScheduledValues(float startTime);
@@ -1590,7 +1590,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioGain">AudioGain</dfn> : AudioParam {
@@ -1642,7 +1642,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioGainNode">AudioGainNode</dfn> : AudioNode {
@@ -1686,7 +1686,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-DelayNode">DelayNode</dfn> : AudioNode {
@@ -1731,15 +1731,15 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioBuffer">AudioBuffer</dfn> {
readonly attribute float sampleRate;
readonly attribute long length;
- <span class="comment">// in seconds </span>
- readonly attribute float duration;
+ <span class="comment">// in seconds </span>
+ readonly attribute float duration;
readonly attribute int numberOfChannels;
@@ -1817,7 +1817,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioBufferSourceNode">AudioBufferSourceNode</dfn> : AudioSourceNode {
@@ -1828,11 +1828,11 @@
readonly attribute unsigned short playbackState;
- <span class="comment">// Playback this in-memory audio asset </span>
- <span class="comment">// Many sources can share the same buffer </span>
+ <span class="comment">// Playback this in-memory audio asset </span>
+ <span class="comment">// Many sources can share the same buffer </span>
attribute AudioBuffer buffer;
- attribute AudioParam playbackRate;
+ attribute AudioParam playbackRate;
attribute boolean loop;
void noteOn(double when);
@@ -1930,7 +1930,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-MediaElementAudioSourceNode">MediaElementAudioSourceNode</dfn> : AudioSourceNode {
@@ -1971,12 +1971,12 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-JavaScriptAudioNode">JavaScriptAudioNode</dfn> : AudioNode {
attribute EventListener onaudioprocess;
-
+
readonly attribute long bufferSize;
};
@@ -2022,14 +2022,14 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioProcessingEvent">AudioProcessingEvent</dfn> : Event {
JavaScriptAudioNode node;
readonly attribute float playbackTime;
readonly attribute AudioBuffer inputBuffer;
- readonly attribute AudioBuffer outputBuffer;
+ readonly attribute AudioBuffer outputBuffer;
};
</code></pre>
@@ -2101,15 +2101,15 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioPannerNode">AudioPannerNode</dfn> : AudioNode {
- <span class="comment">// Panning model </span>
+ <span class="comment">// Panning model </span>
const unsigned short EQUALPOWER = 0;
const unsigned short HRTF = 1;
const unsigned short SOUNDFIELD = 2;
-
+
<span class="comment">// Distance model </span>
const unsigned short LINEAR_DISTANCE = 0;
const unsigned short INVERSE_DISTANCE = 1;
@@ -2123,18 +2123,18 @@
void setOrientation(float x, float y, float z);
void setVelocity(float x, float y, float z);
- <span class="comment">// Distance model and attributes </span>
+ <span class="comment">// Distance model and attributes </span>
attribute unsigned short distanceModel;
attribute float refDistance;
attribute float maxDistance;
attribute float rolloffFactor;
- <span class="comment">// Directional sound cone </span>
+ <span class="comment">// Directional sound cone </span>
attribute float coneInnerAngle;
attribute float coneOuterAngle;
attribute float coneOuterGain;
- <span class="comment">// Dynamically calculated gain values </span>
+ <span class="comment">// Dynamically calculated gain values </span>
readonly attribute AudioGain coneGain;
readonly attribute AudioGain distanceGain;
@@ -2299,14 +2299,14 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioListener">AudioListener</dfn> {
- <span class="comment">// same as OpenAL (default 1) </span>
+ <span class="comment">// same as OpenAL (default 1) </span>
attribute float dopplerFactor;
- <span class="comment">// in meters / second (default 343.3) </span>
+ <span class="comment">// in meters / second (default 343.3) </span>
attribute float speedOfSound;
<span class="comment">// Uses a 3D cartesian coordinate system </span>
@@ -2385,7 +2385,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-ConvolverNode">ConvolverNode</dfn> : AudioNode {
@@ -2517,15 +2517,15 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-RealtimeAnalyserNode">RealtimeAnalyserNode</dfn> : AudioNode {
- <span class="comment">// Real-time frequency-domain data </span>
+ <span class="comment">// Real-time frequency-domain data </span>
void getFloatFrequencyData(Float32Array array);
void getByteFrequencyData(Uint8Array array);
- <span class="comment">// Real-time waveform data </span>
+ <span class="comment">// Real-time waveform data </span>
void getByteTimeDomainData(Uint8Array array);
attribute unsigned long fftSize;
@@ -2643,7 +2643,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioChannelSplitter">AudioChannelSplitter</dfn> : AudioNode {
@@ -2694,7 +2694,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-AudioChannelMerger">AudioChannelMerger</dfn> : AudioNode {
@@ -2727,7 +2727,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"> <code class="idl-code">
+<pre class="code"> <code class="idl-code">
interface <dfn id="dfn-DynamicsCompressorNode">DynamicsCompressorNode</dfn> : AudioNode {
@@ -2810,7 +2810,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-BiquadFilterNode">BiquadFilterNode</dfn> : AudioNode {
@@ -3042,7 +3042,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-WaveShaperNode">WaveShaperNode</dfn> : AudioNode {
@@ -3110,7 +3110,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-Oscillator">Oscillator</dfn> : AudioSourceNode {
@@ -3122,7 +3122,7 @@
const unsigned short CUSTOM = 4;
attribute unsigned short type;
-
+
const unsigned short UNSCHEDULED_STATE = 0;
const unsigned short SCHEDULED_STATE = 1;
const unsigned short PLAYING_STATE = 2;
@@ -3206,7 +3206,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-WaveTable">WaveTable</dfn> {
@@ -3233,7 +3233,7 @@
<span class="blockTitle">IDL</span></div>
<div class="blockContent">
-<pre class="code"><code class="idl-code">
+<pre class="code"><code class="idl-code">
interface <dfn id="dfn-MediaStreamAudioSourceNode">MediaStreamAudioSourceNode</dfn> : AudioSourceNode {