GO-V.ORG
As seen in

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for AudioContext.

Dictionary 0

Papers 0

Developer library 6

Audio for Web games

make sure they start at the correct point that other tracks might be playing at, so they sync up. Let's create our audio context: ```js const audioCtx = new AudioContext(); ``` Now let's select all the li elements; later we can harness these elements to give us access to the track file path and each individual play button. ```js const trackEls = document.querySelectorAll("li"); ``` We want to make sure each fil

Guidelines for writing JavaScript code examples

prefixes If all major browsers (Chrome, Edge, Firefox, and Safari) support a feature, don't prefix the feature. Write: ```js example-good const context = new AudioContext(); ``` Avoid the added complexity of prefixes. Don't write: ```js example-bad const AudioContext = window.AudioContext || window.webkitAudioContext; const context = new AudioContext(); ``` The same rule applies to CSS prefixes. ### Avoid depre

How to write an API reference

ch page is placed at the top level of the API reference, as a child of [https://developer.mozilla.org/en-US/docs/Web/API](/docs/Web/API). Examples: - Title: _AudioContext_ - Slug: _AudioContext_ - URL: [https://developer.mozilla.org/en-US/docs/Web/API/AudioContext](/docs/Web/API/AudioContext) <!----> - Title: _AudioNode_ - Slug: _AudioNode_ - URL: [https://developer.mozilla.org/en-US/docs/Web/API/AudioNode](/docs

How to research a technology

details, adding each interface and its members. For example, if you were documenting the Web Audio API, your list might look more like this: - Web_Audio_API - AudioContext - AudioContext.currentTime - AudioContext.destination - AudioContext.listener - ... - AudioContext.createBuffer() - AudioContext.createBufferSource() - ... - AudioNode - AudioNode.context - AudioNode.numberOfInputs - AudioNode

Third-party APIs

io API we [saw in the Introductory article](/docs/Learn_web_development/Extensions/Client-side_APIs/Introduction#how_do_apis_work) is accessed using the native AudioContext object. For example: ```js const audioCtx = new AudioContext(); // … const audioElement = document.querySelector("audio"); // … const audioSource = audioCtx.createMediaElementSource(audioElement); // etc. ``` Third-party APIs, on the other hand,

Introduction to web APIs

tinuing. Let's return to the example of the Web Audio API — this is a fairly complex API, which consists of a number of objects. The most obvious ones are: - AudioContext, which represents an [audio graph](/docs/Web/API/Web_Audio_API/Basic_concepts_behind_Web_Audio_API#audio_graphs) that can be used to manipulate audio playing inside the browser, and has a number of methods and properties available to manipulate th

JSON results · Services directory