Skip to content

Commit

Permalink
AudioWorkletProcessor.parameterDescriptors remove Page macro (mdn#5239)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored May 25, 2021
1 parent 16a7bae commit 0cd2d5a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 30 deletions.
20 changes: 4 additions & 16 deletions files/en-us/web/api/audioworkletnode/parameters/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
- Property
- Reference
- Web Audio API

browser-compat: api.AudioWorkletNode.parameters
---
<div>{{APIRef("Web Audio API")}}</div>

Expand Down Expand Up @@ -97,25 +99,11 @@ <h2 id="Examples">Examples</h2>

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

<table class="standard-table">
<tbody>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
<tr>
<td>{{SpecName('Web Audio API', '#dom-audioworkletnode-parameters', 'parameters')}}
</td>
<td>{{Spec2('Web Audio API')}}</td>
<td></td>
</tr>
</tbody>
</table>
{{Specifications}}

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

<p>{{Compat("api.AudioWorkletNode.parameters")}}</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 @@ -2,27 +2,27 @@
title: AudioWorkletProcessor.parameterDescriptors (static getter)
slug: Web/API/AudioWorkletProcessor/parameterDescriptors
tags:
- API
- AudioWorkletProcessor
- Experimental
- Property
- Reference
- parameterDescriptors
- API
- AudioWorkletProcessor
- Experimental
- Property
- Reference
- parameterDescriptors

browser-compat: api.AudioWorkletProcessor.parameterDescriptors
---
<div>{{APIRef("Web Audio API")}}{{SeeCompatTable}}</div>

<p class="summary">The read-only <strong><code>parameterDescriptors</code></strong>
property of an {{domxref("AudioWorkletProcessor")}}-derived class is a <em>static
getter</em>, which returns an iterable of {{domxref("AudioParamDescriptor")}}-based
objects.</p>
<p>The read-only <strong><code>parameterDescriptors</code></strong> property of an {{domxref("AudioWorkletProcessor")}}-derived class is a <em>static getter</em>,
which returns an iterable of {{domxref("AudioParamDescriptor")}}-based objects.</p>

<p class="summary">The property is not a part of the {{domxref("AudioWorkletProcessor")}}
<p>The property is not a part of the {{domxref("AudioWorkletProcessor")}}
interface, but, if defined, it is called internally by the
{{domxref("AudioWorkletProcessor")}} constructor to create a list of custom
{{domxref("AudioParam")}} objects in the {{domxref("AudioWorkletNode.parameters",
"parameters")}} property of the associated {{domxref("AudioWorkletNode")}}.</p>

<p class="summary">Defining the getter is optional.</p>
<p>Defining the getter is optional.</p>

<h2 id="Syntax">Syntax</h2>

Expand All @@ -49,7 +49,7 @@ <h3 id="Value">Value</h3>

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

<p>{{page("/en-US/docs/Web/API/AudioWorkletNode/parameters", "Examples")}}</p>
<p>See <a href="/en-US/docs/Web/API/AudioWorkletNode/parameters#examples"><code>AudioWorkletNode.parameters</code></a> for example code showing how to add static <code>parameterDescriptors</code> getter to a custom <code>AudioWorkletProcessor</code>.</p>

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

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

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

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

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

Expand Down

0 comments on commit 0cd2d5a

Please sign in to comment.