From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/ru/web/api/audionode/context/index.html | 113 ++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 files/ru/web/api/audionode/context/index.html (limited to 'files/ru/web/api/audionode/context/index.html') diff --git a/files/ru/web/api/audionode/context/index.html b/files/ru/web/api/audionode/context/index.html new file mode 100644 index 0000000000..88a5e12bec --- /dev/null +++ b/files/ru/web/api/audionode/context/index.html @@ -0,0 +1,113 @@ +--- +title: AudioNode.context +slug: Web/API/AudioNode/context +translation_of: Web/API/AudioNode/context +--- +

{{ APIRef("Web Audio API") }}

+ +
+

Свойство интерфейса {{ domxref("AudioNode") }} возвращающее связанный {{domxref("AudioContext")}}, это объект, представляющий граф, в котором находится данный узел.(только для чтения)

+
+ +

Синтаксис

+ +
var aContext = anAudioNode.context;
+ +

Значение

+ +

Объект {{ domxref("AudioContext") }}.

+ +

Example

+ +
var AudioContext = window.AudioContext || window.webkitAudioContext;
+
+var audioCtx = new AudioContext();
+
+var oscillator = audioCtx.createOscillator();
+var gainNode = audioCtx.createGain();
+
+oscillator.connect(gainNode);
+gainNode.connect(audioCtx.destination);
+
+oscillator.context;
+
+ +

Спецификации

+ + + + + + + + + + + + + + +
СпецификацияСтатусКомментарий
{{SpecName('Web Audio API', '#widl-AudioNode-context', 'context')}}{{Spec2('Web Audio API')}} 
+ +

Совместимость с браузерами

+ +
{{CompatibilityTable}}
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatChrome(10.0)}}{{property_prefix("webkit")}}{{CompatVersionUnknown}}{{CompatGeckoDesktop(25.0)}}{{CompatNo}}15.0{{property_prefix("webkit")}}
+ 22 (unprefixed)
{{CompatVersionUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidEdgeFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatVersionUnknown}}26.01.2{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
+
+ +

Смотрите так же

+ + -- cgit v1.2.3-54-g00ecf