Bug 19561: Change name of WaveTable to PeriodicWave
authorcrogers
Mon, 17 Jun 2013 13:24:23 -0700
changeset 321 7c4a40a9bb57
parent 320 51bdf2d4e69c
child 322 4228b6292890
Bug 19561: Change name of WaveTable to PeriodicWave
webaudio/specification.html
--- a/webaudio/specification.html	Mon Jun 17 13:16:48 2013 -0700
+++ b/webaudio/specification.html	Mon Jun 17 13:24:23 2013 -0700
@@ -287,7 +287,7 @@
             Parameters</a></li>
         </ul>
       </li>
-      <li><a href="#WaveTable">4.24. The WaveTable Interface</a> 
+      <li><a href="#PeriodicWave">4.24. The PeriodicWave Interface</a> 
       </li>
       <li><a href="#MediaStreamAudioSourceNode">4.25. The
         MediaStreamAudioSourceNode Interface</a></li>
@@ -879,7 +879,7 @@
     DynamicsCompressorNode createDynamicsCompressor();
 
     OscillatorNode createOscillator();
-    WaveTable createWaveTable(Float32Array real, Float32Array imag);
+    PeriodicWave createPeriodicWave(Float32Array real, Float32Array imag);
 
 };
 </code></pre>
@@ -1172,19 +1172,19 @@
     </dd>
 </dl>
 <dl>
-  <dt id="dfn-createWaveTable">The
-  <code>createWaveTable</code> method</dt>
+  <dt id="dfn-createPeriodicWave">The
+  <code>createPeriodicWave</code> method</dt>
     <dd><p>Creates a <a
-      href="#WaveTable-section"><code>WaveTable</code></a> representing a waveform containing arbitrary harmonic content.
+      href="#PeriodicWave-section"><code>PeriodicWave</code></a> representing a waveform containing arbitrary harmonic content.
       The <code>real</code> and <code>imag</code> parameters must be of type <code>Float32Array</code> of equal
       lengths greater than zero and less than or equal to 4096 or an exception will be thrown.
       These parameters specify the Fourier coefficients of a
       <a href="http://en.wikipedia.org/wiki/Fourier_series">Fourier series</a> representing the partials of a periodic waveform.
-      The created WaveTable will be used with an <a href="#OscillatorNode-section"><code>OscillatorNode</code></a>
+      The created PeriodicWave will be used with an <a href="#OscillatorNode-section"><code>OscillatorNode</code></a>
       and will represent a <em>normalized</em> time-domain waveform having maximum absolute peak value of 1.
       Another way of saying this is that the generated waveform of an <a href="#OscillatorNode-section"><code>OscillatorNode</code></a>
       will have maximum peak value at 0dBFS. Conveniently, this corresponds to the full-range of the signal values used by the Web Audio API.
-      Because the WaveTable will be normalized on creation, the <code>real</code> and <code>imag</code> parameters
+      Because the PeriodicWave will be normalized on creation, the <code>real</code> and <code>imag</code> parameters
       represent <em>relative</em> values.
       </p>
       <p>The <dfn id="dfn-real">real</dfn> parameter represents an array of <code>cosine</code> terms (traditionally the A terms).
@@ -3665,7 +3665,7 @@
 
 <p>OscillatorNode represents an audio source generating a periodic waveform. It can be set to
 a few commonly used waveforms. Additionally, it can be set to an arbitrary periodic
-waveform through the use of a <a href="#WaveTable-section"><code>WaveTable</code></a> object. </p>
+waveform through the use of a <a href="#PeriodicWave-section"><code>PeriodicWave</code></a> object. </p>
 
 <p>Oscillators are common foundational building blocks in audio synthesis.  An OscillatorNode will start emitting sound at the time
 specified by the <code>start()</code> method. </p>
@@ -3732,7 +3732,7 @@
 
     void start(double when);
     void stop(double when);
-    void setWaveTable(WaveTable waveTable);
+    void setPeriodicWave(PeriodicWave periodicWave);
 
     attribute EventHandler onended;
 
@@ -3746,7 +3746,7 @@
 <dl>
   <dt id="dfn-type"><code>type</code></dt>
     <dd><p>The shape of the periodic waveform.  It may directly be set to any of the type constant values except for "custom".
-    The <a href="#dfn-setWaveTable"><code>setWaveTable()</code></a> method can be used to set a custom waveform, which results in this attribute
+    The <a href="#dfn-setPeriodicWave"><code>setPeriodicWave()</code></a> method can be used to set a custom waveform, which results in this attribute
     being set to "custom".  The default value is "sine". </p>
     </dd>
 </dl>
@@ -3780,9 +3780,9 @@
 <div id="methodsandparams-OscillatorNode-section" class="section">
 <h3 id="methodsandparams-OscillatorNode">4.23.2. Methods and Parameters</h3>
 <dl>
-  <dt id="dfn-setWaveTable">The <code>setWaveTable</code>
+  <dt id="dfn-setPeriodicWave">The <code>setPeriodicWave</code>
   method</dt>
-    <dd><p>Sets an arbitrary custom periodic waveform given a <a href="#WaveTable-section"><code>WaveTable</code></a>.</p>
+    <dd><p>Sets an arbitrary custom periodic waveform given a <a href="#PeriodicWave-section"><code>PeriodicWave</code></a>.</p>
     </dd>
 </dl>
 <dl>
@@ -3800,11 +3800,11 @@
 </div>
 
 
-<div id="WaveTable-section" class="section">
-<h2 id="WaveTable">4.24. The WaveTable Interface</h2>
-
-<p>WaveTable represents an arbitrary periodic waveform to be used with an <a href="#OscillatorNode-section"><code>OscillatorNode</code></a>.
-Please see <a href="#dfn-createWaveTable">createWaveTable()</a> and <a href="#dfn-setWaveTable">setWaveTable()</a> and for more details. </p>
+<div id="PeriodicWave-section" class="section">
+<h2 id="PeriodicWave">4.24. The PeriodicWave Interface</h2>
+
+<p>PeriodicWave represents an arbitrary periodic waveform to be used with an <a href="#OscillatorNode-section"><code>OscillatorNode</code></a>.
+Please see <a href="#dfn-createPeriodicWave">createPeriodicWave()</a> and <a href="#dfn-setPeriodicWave">setPeriodicWave()</a> and for more details. </p>
 
 <div class="block">
 
@@ -3814,7 +3814,7 @@
 <div class="blockContent">
 <pre class="code"><code class="idl-code">
 
-interface <dfn id="dfn-WaveTable">WaveTable</dfn> {
+interface <dfn id="dfn-PeriodicWave">PeriodicWave</dfn> {
 
 };
 </code></pre>