AudioListener: positionX プロパティ
positionX
は AudioListener
インターフェイスの読み取り専用プロパティで、3D 直行空間における聞き手の x 位置を表す AudioParam
です。
メモ:
この引数は PannerNode
の panningModel
が equalpower に設定されているものと一緒に使用された場合は a-rate、そうでない場合は k-rate となります。
値
AudioParam
です。既定値は 0 で、正の無限大から負の無限大の範囲になります。
例
サンプルコードは BaseAudioContext.createPanner()
を参照してください。
仕様書
Specification |
---|
Web Audio API # dom-audiolistener-positionx |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
positionX |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- See implementation notes.
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.