BaseAudioContext: createConstantSource()-Methode
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.
Die createConstantSource()-Eigenschaft der BaseAudioContext-Schnittstelle erstellt ein ConstantSourceNode-Objekt, das eine Audioquelle ist, die kontinuierlich ein monaurales (ein-Kanal) Audiosignal ausgibt, dessen Proben alle denselben Wert haben.
Hinweis:
Der ConstantSourceNode()-Konstruktor ist die empfohlene Methode, um ein ConstantSourceNode zu erstellen; siehe Erstellen eines AudioNodes.
Syntax
js
createConstantSource()
Parameter
Keine.
Rückgabewert
Eine ConstantSourceNode-Instanz.
Spezifikationen
| Specification |
|---|
| Web Audio API> # dom-baseaudiocontext-createconstantsource> |
Browser-Kompatibilität
Loading…