You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd>A reference to an {{domxref("AudioContext")}} or {{domxref("OfflineAudioContext")}}.</dd>
29
29
<dt><em>options</em> {{optional_inline}}</dt>
30
30
<dd>
31
-
<ul>
32
-
<li><strong><code>fftSize</code></strong>: The desired initial size of the <ahref="https://en.wikipedia.org/wiki/Fast_Fourier_transform">FFT</a> for <ahref="https://en.wikipedia.org/wiki/Frequency_domain">frequency-domain</a> analysis. <br>
33
-
The default is <code>2048</code>.</li>
34
-
<li><strong><code>maxDecibels</code></strong>: The desired initial maximum power in <ahref="https://en.wikipedia.org/wiki/Decibel">dB</a> for FFT analysis.<br>
35
-
The default is <code>-30</code>.</li>
36
-
<li><strong><code>minDecibels</code></strong>: The desired initial minimum power in dB for FFT analysis.<br>
37
-
The default is <code>-100</code>.</li>
38
-
<li><strong><code>smoothingTimeConstant</code></strong>: The desired initial smoothing constant for the FFT analysis. The default is <code>0.8</code>.</li>
39
-
</ul>
31
+
<p>An object with the following properties, all optional:</p>
32
+
<ul>
33
+
<li><strong><code>fftSize</code></strong>: The desired initial size of the <ahref="https://en.wikipedia.org/wiki/Fast_Fourier_transform">FFT</a> for <ahref="https://en.wikipedia.org/wiki/Frequency_domain">frequency-domain</a> analysis. <br>
34
+
The default is <code>2048</code>.</li>
35
+
<li><strong><code>maxDecibels</code></strong>: The desired initial maximum power in <ahref="https://en.wikipedia.org/wiki/Decibel">dB</a> for FFT analysis.<br>
36
+
The default is <code>-30</code>.</li>
37
+
<li><strong><code>minDecibels</code></strong>: The desired initial minimum power in dB for FFT analysis.<br>
38
+
The default is <code>-100</code>.</li>
39
+
<li><strong><code>smoothingTimeConstant</code></strong>: The desired initial smoothing constant for the FFT analysis. The default is <code>0.8</code>.</li>
<dd>A dictionary object containing one or more flags indicating the validity state of the element:
27
-
<ul>
27
+
<dl>
28
28
<dt><code>valueMissing</code></dt>
29
29
<dd>A boolean value that is <code>true</code> if the element has a {{htmlattrxref("required", "input")}} attribute, but no value, or <code>false</code> otherwise. If <code>true</code>, the element matches the {{cssxref(":invalid")}} CSS pseudo-class.</dd>
<dd>A boolean value that is <code>true</code> if the user has provided input that the browser is unable to convert.</dd>
46
46
<dt><code>customError</code></dt>
47
47
<dd>A boolean value indicating whether the element's custom validity message has been set to a non-empty string by calling the element's {{domxref('HTMLObjectElement.setCustomValidity', 'setCustomValidity()')}} method.</dd>
48
-
</ul>
48
+
</dl>
49
49
50
50
<divclass="notecard note">
51
51
<p><strong>Note:</strong> To set all flags to <code>false</code>, indicating that this element passes all constraints validation, pass in an empty object <code>{}</code>. In this case, you do not need to also pass a <code>message</code>.</p>
<li>{{DOMxRef("Document_Object_Model", "Document Object Model (DOM)", "", "1")}} reference</li>
449
-
</ul>
450
-
</dd>
451
-
<dt>Guides</dt>
452
-
<dd>
453
-
<ul>
448
+
</ul>
449
+
450
+
<h3>Guides</h3>
451
+
452
+
<ul>
454
453
<li>
455
454
<p><ahref="/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Manipulating_documents">Manipulating documents</a>: A beginner's guide to manipulating the DOM.</p>
0 commit comments