Remove the #OldNames section.
authorPaul Adenot <paul@paul.cx>
Thu, 29 Aug 2013 19:16:48 +0200
changeset 328 396c4054ef67
parent 327 0511c6585cb6
child 329 c356109a4006
Remove the #OldNames section.
webaudio/specification.html
--- a/webaudio/specification.html	Fri Aug 23 17:52:36 2013 +0200
+++ b/webaudio/specification.html	Thu Aug 29 19:16:48 2013 +0200
@@ -395,7 +395,6 @@
   <li><a href="#SecurityConsiderations">17. Security Considerations</a></li>
   <li><a href="#PrivacyConsiderations">18. Privacy Considerations</a></li>
   <li><a href="#requirements">19. Requirements and Use Cases</a></li>
-  <li><a href="#OldNames">20. Old Names</a></li>
   <li><a href="#L17310">A.References</a> 
     <ul>
       <li><a href="#Normative-references">A.1 Normative references</a></li>
@@ -5246,151 +5245,6 @@
 </p>
 </div>
 
-<div id="oldnames-section" class="section">
-<h2 id="OldNames">20. Old Names</h2>
-
-<p class="norm">This section is informative.</p>
-
-<p>Some method and attribute names have been improved during API review.
-The new names are described in the main body of this specification in the
-description for each node type, etc.  Here's a description of the older names
-to help content authors migrate to the latest spec.  Note that the partial
-interfaces are not normative and are only descriptive: 
-</p>
-<blockquote>
-<pre>
-
-partial interface <dfn>AudioBufferSourceNode</dfn> {
-    // Same as start()
-    void noteOn(double when);
-    void noteGrainOn(double when, double grainOffset, double grainDuration);
-    
-    // Same as stop()
-    void noteOff(double when);
-};
-
-partial interface <dfn>AudioContext</dfn> {
-    // Same as createGain()
-    GainNode createGainNode();
-    
-    // Same as createDelay()
-    DelayNode createDelayNode(optional double maxDelayTime = 1.0);
-
-    // Same as createScriptProcessor()
-    ScriptProcessorNode createJavaScriptNode(optional unsigned long bufferSize = 0,
-                                             optional unsigned long numberOfInputChannels = 2,
-                                             optional unsigned long numberOfOutputChannels = 2);
-};
-
-partial interface <dfn>OscillatorNode</dfn> {
-    // Same as start()
-    void noteOn(double when);
-    
-    // Same as stop()
-    void noteOff(double when);
-};
-
-partial interface <dfn>AudioParam</dfn> {
-    // Same as setTargetAtTime()
-    void setTargetValueAtTime(float target, double startTime, double timeConstant);
-};
-
-</pre>
-</blockquote>
-
-<p>Some attributes taking constant values have changed during API review.
-The old way used integer values, while the new way uses Web IDL string values.
-</p>
-
-<blockquote>
-<pre>
-// PannerNode constants for the .panningModel attribute
-
-// Old way
-const unsigned short EQUALPOWER = 0;
-const unsigned short HRTF = 1;
-
-// New way
-enum <dfn>PanningModelType</dfn> {
-  "equalpower",
-  "HRTF"
-};
-</pre>
-</blockquote>
-
-<blockquote>
-<pre>
-// PannerNode constants for the .distanceModel attribute
-
-// Old way
-const unsigned short LINEAR_DISTANCE = 0;
-const unsigned short INVERSE_DISTANCE = 1;
-const unsigned short EXPONENTIAL_DISTANCE = 2;
-
-// New way
-enum <dfn>DistanceModelType</dfn> {
-  "linear",
-  "inverse",
-  "exponential"
-};
-</pre>
-</blockquote>
-
-
-
-<blockquote>
-<pre>
-// BiquadFilterNode constants for the .type attribute
-
-// Old way
-const unsigned short LOWPASS = 0;
-const unsigned short HIGHPASS = 1;
-const unsigned short BANDPASS = 2;
-const unsigned short LOWSHELF = 3;
-const unsigned short HIGHSHELF = 4;
-const unsigned short PEAKING = 5;
-const unsigned short NOTCH = 6;
-const unsigned short ALLPASS = 7;
-
-// New way
-enum <dfn>BiquadFilterType</dfn> {
-  "lowpass",
-  "highpass",
-  "bandpass",
-  "lowshelf",
-  "highshelf",
-  "peaking",
-  "notch",
-  "allpass"
-};
-</pre>
-</blockquote>
-
-<blockquote>
-<pre>
-// OscillatorNode constants for the .type attribute
-
-// Old way
-const unsigned short SINE = 0;
-const unsigned short SQUARE = 1;
-const unsigned short SAWTOOTH = 2;
-const unsigned short TRIANGLE = 3;
-const unsigned short CUSTOM = 4;
-
-// New way
-enum <dfn>OscillatorType</dfn> {
-  "sine",
-  "square",
-  "sawtooth",
-  "triangle",
-  "custom"
-};
-</pre>
-</blockquote>
-
-
-
-</div>
 
 </div>
 </div>