Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Page macro: ScriptProcessorNode examples #5238

Merged
merged 1 commit into from
May 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions files/en-us/web/api/audioprocessingevent/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
- Internationalization
- Reference
- Web Audio API
browser-compat: api.AudioProcessingEvent
---
<p>{{APIRef("Web Audio API")}}{{deprecated_header}}</p>

<p><span class="seoSummary">The <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a> <code>AudioProcessingEvent</code> represents events that occur when a {{domxref("ScriptProcessorNode")}} input buffer is ready to be processed.</span></p>

<div class="note">
<p><strong>Note</strong>: As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by <a href="https://webaudio.github.io/web-audio-api/#audioworklet">AudioWorklet</a>.</p>
<div class="notecard note">
<p><strong>Note</strong>: As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by <a href="https://webaudio.github.io/web-audio-api/#audioworklet">AudioWorklet</a>.</p>
</div>

<h2 id="Properties">Properties</h2>
Expand Down Expand Up @@ -72,11 +73,11 @@ <h2 id="Properties">Properties</h2>

<h2 id="Example">Example</h2>

<p>{{page("/en-US/docs/Web/API/AudioContext.createScriptProcessor","Example")}}</p>
<p>See <a href="/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor#example"><code>BaseAudioContext.createScriptProcessor()</code></a> for example code that uses an <code>AudioProcessingEvent</code>.</p>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat("api.AudioProcessingEvent")}}</p>
<p>{{Compat}}</p>

<h2 id="See_also">See also</h2>

Expand Down
12 changes: 6 additions & 6 deletions files/en-us/web/api/scriptprocessornode/buffersize/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
- ScriptProcessorNode
- Web Audio API
- bufferSize
browser-compat: api.ScriptProcessorNode.bufferSize
---
<p>{{APIRef("Web Audio API")}}</p>

<div class="note">
<p><strong>Note</strong>: As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by <a href="/en-US/docs/Web/API/Web_Audio_API#audio_workers">Audio Workers</a>.</p>
<div class="notecard note">
<p><strong>Note</strong>: As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by <a href="/en-US/docs/Web/API/Web_Audio_API#audio_workers">Audio Workers</a>.</p>
</div>

<div>

<p>The <code>bufferSize</code> property of the {{domxref("ScriptProcessorNode")}} interface returns an integer representing both the input and output buffer size, in sample-frames. Its value can be a power of 2 value in the range <code>256</code>–<code>16384</code>.</p>

<h2 id="Syntax">Syntax</h2>
Expand All @@ -27,11 +28,10 @@ <h2 id="Syntax">Syntax</h2>
<h3 id="Value">Value</h3>

<p>An integer.</p>
</div>

<h2 id="Example">Example</h2>

<p>{{page("/en-US/docs/Web/API/AudioContext.createScriptProcessor","Example")}}</p>
<p>See <a href="/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor#example"><code>BaseAudioContext.createScriptProcessor()</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand All @@ -52,7 +52,7 @@ <h2 id="Specifications">Specifications</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat("api.ScriptProcessorNode.bufferSize")}}</p>
<p>{{Compat}}</p>

<h2 id="See_also">See also</h2>

Expand Down
5 changes: 3 additions & 2 deletions files/en-us/web/api/scriptprocessornode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Reference
- ScriptProcessorNode
- Web Audio API
browser-compat: api.ScriptProcessorNode
---
<p>{{APIRef("Web Audio API")}}{{deprecated_header}}</p>

Expand Down Expand Up @@ -75,7 +76,7 @@ <h2 id="Events">Events</h2>

<h2 id="Examples">Examples</h2>

<p>{{page("/en-US/docs/Web/API/AudioContext.createScriptProcessor","Example")}}</p>
<p>See <a href="/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor#example"><code>BaseAudioContext.createScriptProcessor()</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand All @@ -96,7 +97,7 @@ <h2 id="Specifications">Specifications</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat("api.ScriptProcessorNode")}}</p>
<p>{{Compat}}</p>

<h2 id="See_also">See also</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- ScriptProcessorNode
- Web Audio API
- onaudioprocess
browser-compat: api.ScriptProcessorNode.onaudioprocess
---
<p>{{APIRef("Web Audio API")}}</p>

Expand All @@ -27,7 +28,7 @@ <h2 id="Syntax">Syntax</h2>

<h2 id="Example">Example</h2>

<p>{{page("/en-US/docs/Web/API/AudioContext.createScriptProcessor","Example")}}</p>
<p>See <a href="/en-US/docs/Web/API/BaseAudioContext/createScriptProcessor#example"><code>BaseAudioContext.createScriptProcessor()</code></a> for example code.</p>

<h2 id="Specifications">Specifications</h2>

Expand All @@ -48,7 +49,7 @@ <h2 id="Specifications">Specifications</h2>

<h2 id="Browser_compatibility">Browser compatibility</h2>

<p>{{Compat("api.ScriptProcessorNode.onaudioprocess")}}</p>
<p>{{Compat}}</p>

<h2 id="See_also">See also</h2>

Expand Down