Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2021年4月.
sampleRate は BaseAudioContext インターフェイスのプロパティで、この音声コンテキスト内のすべてのノードが使用するサンプリングレートを、1 秒あたりのサンプル数で表した浮動小数点数を返すものです。 この制限は、サンプリングレートコンバーターに対応していないことを意味します。
音声コンテキストのサンプリングレートを、 1 秒当たりのサンプル数で示す浮動小数点数です。
メモ: 完全なウェブオーディオの実装の例は、GitHub の MDN リポジトリー にあるいずれかのウェブオーディオのデモを参照してください。 ブラウザーのコンソールで audioCtx.sampleRate と入力してみてください。
| Web Audio API # dom-baseaudiocontext-samplerate |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2024年7月28日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.