aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/audiobuffersourcenode
diff options
context:
space:
mode:
authorFlorian Merz <me@fiji-flo.de>2021-02-11 12:07:59 +0100
committerFlorian Merz <me@fiji-flo.de>2021-02-11 12:07:59 +0100
commit6ef1fa4618e08426b874529619a66adbd3d1fcf0 (patch)
tree890e3e27131be010d82ef957fa68db495006cb0e /files/ja/web/api/audiobuffersourcenode
parent8260a606c143e6b55a467edf017a56bdcd6cba7e (diff)
downloadtranslated-content-6ef1fa4618e08426b874529619a66adbd3d1fcf0.tar.gz
translated-content-6ef1fa4618e08426b874529619a66adbd3d1fcf0.tar.bz2
translated-content-6ef1fa4618e08426b874529619a66adbd3d1fcf0.zip
unslug ja: move
Diffstat (limited to 'files/ja/web/api/audiobuffersourcenode')
-rw-r--r--files/ja/web/api/audiobuffersourcenode/onended/index.html108
-rw-r--r--files/ja/web/api/audiobuffersourcenode/stop/index.html120
2 files changed, 0 insertions, 228 deletions
diff --git a/files/ja/web/api/audiobuffersourcenode/onended/index.html b/files/ja/web/api/audiobuffersourcenode/onended/index.html
deleted file mode 100644
index 22f8b05ba3..0000000000
--- a/files/ja/web/api/audiobuffersourcenode/onended/index.html
+++ /dev/null
@@ -1,108 +0,0 @@
----
-title: AudioBufferSourceNode.onended
-slug: Web/API/AudioBufferSourceNode/onended
-translation_of: Web/API/AudioScheduledSourceNode/onended
-translation_of_original: Web/API/AudioBufferSourceNode/onended
----
-<p>{{ APIRef("AudioBufferSourceNode") }}</p>
-
-<div><code style="font-style: normal;">AudioBufferSourceNodeの</code><span style="line-height: 1.5;"> </span><code style="font-style: normal; line-height: 1.5;">onended</code><span style="line-height: 1.5;"> イベントハンドラーは</span><span style="line-height: 1.5;">{{event("ended_(Web_Audio)", "ended")}} イベントに関するコ−ルバック関数を格納します。これによりオーディオトラックの再生終了時に実行するコードを設定することができます。</span></div>
-
-<div class="note">
-<p><strong>注</strong>: <code>onended</code> ハンドラーは loop プロパティーがtrueに設定されている場合はオーディオが再生終了することが無いので効果がありません。このような場合にこの機能を有効にするには {{ domxref("AudioBufferSourceNode.stop()") }} を使用してください。</p>
-</div>
-
-<h2 id="構文">構文</h2>
-
-<pre class="brush: js;highlight[20]">var source = audioCtx.createBufferSource();
-source.onended = function() { ... };
-</pre>
-
-<h2 id="用例">用例</h2>
-
-<pre class="brush: js">source.start();
-source.onended = function() {
- console.log('Your audio has finished playing');
-}</pre>
-
-<h2 id="プロパティ">プロパティ</h2>
-
-<p>有りません。</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', '#widl-AudioBufferSourceNode-onended', 'onended')}}</td>
- <td>{{Spec2('Web Audio API')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="ブラウザー互換性">ブラウザー互換性</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="関連情報">関連情報</h2>
-
-<ul>
- <li><a href="/en-US/docs/Web/API/Web_Audio_API/Using_Web_Audio_API">Web Audio API</a>を使う</li>
-</ul>
diff --git a/files/ja/web/api/audiobuffersourcenode/stop/index.html b/files/ja/web/api/audiobuffersourcenode/stop/index.html
deleted file mode 100644
index 2163d86379..0000000000
--- a/files/ja/web/api/audiobuffersourcenode/stop/index.html
+++ /dev/null
@@ -1,120 +0,0 @@
----
-title: AudioBufferSourceNode.stop()
-slug: Web/API/AudioBufferSourceNode/stop
-translation_of: Web/API/AudioScheduledSourceNode/stop
-translation_of_original: Web/API/AudioBufferSourceNode/stop
----
-<p>{{ APIRef("Web Audio API") }}</p>
-
-<div>
-<p>インターフェースの<code>stop()</code>メソッドは、オーディオバッファの再生を停止させるために使われます。</p>
-</div>
-
-<h2 id="構文">構文</h2>
-
-<pre class="brush: js;highlight[20]">var source = audioCtx.createBufferSource();
-source.stop(when);
-</pre>
-
-<h2 id="例">例</h2>
-
-<p>最も単純なオーディオバッファ再生の停止方法—この場合は何もパラメータを指定する必要はありません。</p>
-
-<pre class="brush: js">source.stop();</pre>
-
-<p>しばらく後に停止させたい場合は、引数として秒数を指定します。</p>
-
-<pre class="brush: js">source.stop(3);</pre>
-
-<div class="note">
-<p><strong>注: </strong>stop()の使い方の完全な例は<a href="https://developer.mozilla.org/ja/docs/Web/API/AudioContext/decodeAudioData" title="これはオーディオトラックからWeb Audio APIで音源を生成するよい方法です。"><code>AudioContext.decodeAudioData</code></a>を参照してください。<a class="external-icon external" href="http://mdn.github.io/decode-audio-data/">コードをすぐに実行する</a>ことや、<a class="external-icon external" href="https://github.com/mdn/decode-audio-data">ソースコードを閲覧する</a>こともできます。</p>
-</div>
-
-<h2 id="引数">引数</h2>
-
-<dl>
- <dt>when</dt>
- <dd><code>when</code>パラメータは、再生を<em>いつ</em>停止するかを決定します。指定の時間を経過すると、再生はすぐに停止します。このメソッドが2回以上呼ばれると、例外が発生します</dd>
-</dl>
-
-<h2 id="戻り値">戻り値</h2>
-
-<p>なし</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', '#widl-AudioBufferSourceNode-stop-void-double-when', 'stop()')}}</td>
- <td>{{Spec2('Web Audio API')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="ブラウザ互換性">ブラウザ互換性</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h2 id="参考">参考</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>