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

AudioBufferSourceNode: include SeeAlso rather than use page macro #4849

Merged
merged 1 commit into from
May 13, 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
17 changes: 9 additions & 8 deletions files/en-us/web/api/audiobuffersourcenode/buffer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,13 @@ <h3 id="Value">Value</h3>

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

<div class="note">
<p>For a full working example, see<a class="external external-icon"
href="https://mdn.github.io/webaudio-examples/audio-buffer/"> this code running
live</a>, or <a class="external external-icon"
href="https://github.com/mdn/webaudio-examples/blob/master/audio-buffer/index.html">view
the source</a>.</p>
<div class="notecard note">
<h4>Note</h4>
<p>For a full working example, see <a href="https://mdn.github.io/webaudio-examples/audio-buffer/"> this code running
live</a>, or <a href="https://github.com/mdn/webaudio-examples/blob/master/audio-buffer/index.html">view the source</a>.</p>
</div>

<pre class="brush: js;highlight[19]">var myArrayBuffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate);
<pre class="brush: js">var myArrayBuffer = audioCtx.createBuffer(2, frameCount, audioCtx.sampleRate);

button.onclick = function() {
// Fill the buffer with white noise;
Expand Down Expand Up @@ -88,4 +86,7 @@ <h2 id="Browser_compatibility">Browser compatibility</h2>

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

<p>{{page("/en-US/docs/Web/API/AudioBufferSourceNode","See_also")}}</p>
<ul>
<li><a href="/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API">Using the Web Audio API</a></li>
<li><a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a></li>
</ul>
6 changes: 3 additions & 3 deletions files/en-us/web/api/audiobuffersourcenode/detune/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ <h2 id="Browser_compatibility">Browser compatibility</h2>
<h2 id="See_also">See also</h2>

<ul>
<li><a href="/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API">Using the Web Audio API</a>
</li>
</ul>
<li><a href="/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API">Using the Web Audio API</a></li>
<li><a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a></li>
</ul>
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ <h2 id="Browser_compatibility">Browser compatibility</h2>
<h2 id="See_also">See also</h2>

<ul>
<li><a href="/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API">Using the Web Audio API</a></li>
<li><a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a></li>
<li><a href="/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API">Using the Web Audio
API</a></li>
</ul>
</ul>
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,6 @@ <h2 id="Browser_compatibility">Browser compatibility</h2>
<h2 id="See_also">See also</h2>

<ul>
<li><a href="/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API">Using the Web Audio
API</a></li>
</ul>
<li><a href="/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API">Using the Web Audio API</a></li>
<li><a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a></li>
</ul>