aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/periodicwave
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/api/periodicwave
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/api/periodicwave')
-rw-r--r--files/zh-cn/web/api/periodicwave/index.html62
1 files changed, 62 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/periodicwave/index.html b/files/zh-cn/web/api/periodicwave/index.html
new file mode 100644
index 0000000000..ea33eb1033
--- /dev/null
+++ b/files/zh-cn/web/api/periodicwave/index.html
@@ -0,0 +1,62 @@
+---
+title: PeriodicWave
+slug: Web/API/PeriodicWave
+translation_of: Web/API/PeriodicWave
+---
+<p>{{ APIRef("Web Audio API") }}</p>
+
+<div>
+<p><strong><code>PeriodicWave</code></strong> 接口定义了一个可用于对 {{domxref("OscillatorNode")}}(振荡节点) 的输出进行构造(描述)的周期性波形。</p>
+</div>
+
+<p><code>PeriodicWave</code> (周期波) 没有输入或输出;它用于调用 {{domxref("OscillatorNode.setPeriodicWave()")}} 时定义自定义振荡器。 <code>PeriodicWave</code> 自身由 {{domxref("AudioContext.createPeriodicWave()")}} 创建/返回。</p>
+
+<h2 id="构造函数">构造函数</h2>
+
+<dl>
+ <dt>{{domxref("PeriodicWave.PeriodicWave()")}}</dt>
+ <dd>使用所有属性的默认值创建一个新的 <code>PeriodicWave</code> 对象实例。如果你想一开始就建立自定义属性值,请使用 {{domxref("AudioContext.createPeriodicWave()")}} 工厂方法替代。</dd>
+</dl>
+
+<h2 id="属性">属性</h2>
+
+<p><em>None; 而且, <code>PeriodicWave</code> 不继承任何属性。</em></p>
+
+<h2 id="方法">方法</h2>
+
+<p><em>None; 而且, <code>PeriodicWave</code> 继承任何属性。</em></p>
+
+<h2 id="例子">例子</h2>
+
+<p>{{page("/zh-CN/docs/Web/API/BaseAudioContext/createPeriodicWave","例子")}}</p>
+
+<h2 id="规格">规格</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', '#periodicwave', 'PeriodicWave')}}</td>
+ <td>{{Spec2('Web Audio API')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+<div>
+
+
+<p>{{Compat("api.PeriodicWave")}}</p>
+</div>
+
+<h2 id="参见">参见</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web_Audio_API/Using_Web_Audio_API">Using the Web Audio API</a></li>
+</ul>