Skip to content

Commit

Permalink
chore: Update formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Korilakkuma committed Apr 19, 2024
1 parent f8b1e11 commit dafe33e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ <h3>Web Music の歴史</h3>
href="https://www.w3.org/TR/2011/WD-webaudio-20111215/"
target="_blank"
rel="noopener noreferrer"
>草案 (Working Draft) が 2011 年 12 月 15 日 に公開</a
>. <a href="https://www.w3.org/TR/webaudio/" target="_blank" rel="noopener noreferrer">2021 年 6 月 17 日に勧告</a> (W3C recommendation
>草案 (Working Draft) が 2011 年 12 月 15 日 に公開</a>. <a href="https://www.w3.org/TR/webaudio/" target="_blank" rel="noopener noreferrer">2021 年 6 月 17 日に勧告</a> (W3C recommendation
で現在の最新バージョン)).
</p>
</section>
Expand Down Expand Up @@ -144,8 +143,7 @@ <h3>推奨ブラウザ</h3>
の仕様に準拠している <a href="https://www.google.com/chrome/" target="_blank" rel="noopener noreferrer">Google Chrome</a> もしくは
<a href="https://www.mozilla.org/ja/firefox/" target="_blank" rel="noopener noreferrer">Mozilla Firefox</a> (いずれも最新バージョン) を推奨します
(Google Chrome の場合, より高度な
<a href="https://web.dev/articles/profiling-web-audio-apps-in-chrome" target="_blank" rel="noopener noreferrer">Web Audio API 専用のプロファイラ</a
>があるのでおすすめです).
<a href="https://web.dev/articles/profiling-web-audio-apps-in-chrome" target="_blank" rel="noopener noreferrer">Web Audio API 専用のプロファイラ</a>があるのでおすすめです).
</p>
</section>
<section id="section-prerequisite">
Expand Down Expand Up @@ -832,8 +830,7 @@ <h3>frequency プロパティ (AudioParam) / detune プロパティ (AudioParam)
<p>
周波数を制御して音の高さを変更します. <code>frequency プロパティ</code><code>detune</code> プロパティを合わせて算出される周波数 (<span
class="math_inline"
>$\mathrm{f}_{\mathrm{computed}}$</span
>) は, 仕様では以下のように決定されます.
>$\mathrm{f}_{\mathrm{computed}}$</span>) は, 仕様では以下のように決定されます.
</p>
<div class="math-block">$\mathrm{f}_{\mathrm{computed}} = \mathrm{frequency} * \mathrm{pow}\left(2, \left(\mathrm{detune} / 1200 \right)\right)$</div>
<p>
Expand Down Expand Up @@ -1250,8 +1247,7 @@ <h3>start メソッド / stop メソッド</h3>
<code>AudioBufferSourceNode</code> インスタンスは, 言わば使い捨てなので, 一度発音・停止した <code>AudioBufferSourceNode</code> インスタンスは再度,
発音 (停止) することはできません. 例えば, ユーザーインタラクティブな操作で発音・停止を繰り返すような場合,
<code>AudioBufferSourceNode</code> インスタンスを再生成して, 再度 <code>AudioDestinationNode</code> に接続して, <code>start</code> メソッド (<code
>stop</code
>
>stop</code>
メソッド) を実行する必要があります. この仕様は, <code>OscillatorNode</code> とまったく同じです (ただし,
<code>AudioBuffer</code> インスタンスは使い回すことが可能です).
</p>
Expand Down

0 comments on commit dafe33e

Please sign in to comment.