BaseAudioContext: createConstantSource() メソッド
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.
createConstantSource()
は BaseAudioContext
インターフェイスのプロパティで、 ConstantSourceNode
オブジェクトを作成します。これはサンプル数がすべて同じ値のモノラル(1 チャンネル)音声信号を連続的に出力する音声ソースです。
メモ: ConstantSourceNode()
コンストラクターは ConstantSourceNode
を作成するための推奨される方法です。 AudioNode の作成を参照してください。
構文
js
createConstantSource()
引数
なし。
返値
ConstantSourceNode
のインスタンスです。
仕様書
Specification |
---|
Web Audio API # dom-baseaudiocontext-createconstantsource |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
createConstantSource |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.