OfflineAudioCompletionEvent()
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.
OfflineAudioCompletionEvent()
はウェブオーディオ API のコンストラクターで、新しい OfflineAudioCompletionEvent
オブジェクトを生成します。
メモ:
一般的にコンストラクターを手動で使用することはないでしょう。
OfflineAudioCompletionEvent
イベントは、古い理由のため OfflineAudioContext
インスタンスに配信されます。
構文
js
new OfflineAudioCompletionEvent(type, options)
引数
type
-
このイベントの名前を示す文字列です。 大文字小文字を区別します。ブラウザーは
complete
に設定します。 options
-
オブジェクトで、
Event()
で定義されているプロパティに加え、以下のプロパティを持つことができます。renderedBuffer
-
レンダリングされた音声データを含む
AudioBuffer
です。
返値
新しい OfflineAudioCompletionEvent
オブジェクト。
仕様書
Specification |
---|
Web Audio API # dom-offlineaudiocompletionevent-offlineaudiocompletionevent |
ブラウザーの互換性
BCD tables only load in the browser