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 ScriptProcessorNode.
Developer library 6
Guidelines for writing JavaScript code examples
a non-exhaustive list of Web APIs to avoid and what to replace them with: - Use `fetch()` instead of XHR (`XMLHttpRequest`). - Use `AudioWorklet` instead of `ScriptProcessorNode`, in the Web Audio API. ### Use safe and reliable APIs - Do not use Element.innerHTML to insert purely textual content into an element; use Node.textContent instead. The property `innerHTML` leads to security problems if a developer doesn
` ` HTML video embed element
; [no percentages](https://html.spec.whatwg.org/multipage/embedded-content.html#dimension-attributes)). ## Events - audioprocess - : The input buffer of a ScriptProcessorNode is ready to be processed. - canplay - : The browser can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content. - canplaythrough - : The
` ` HTML embed audio element
optional; you may instead use the source element within the audio block to specify the audio to embed. ## Events - audioprocess - : The input buffer of a ScriptProcessorNode is ready to be processed. - canplay - : The browser can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content. - canplaythrough - : The
AudioProcessingEvent
Web Audio API The `AudioProcessingEvent` interface of the [Web Audio API](/docs/Web/API/Web_Audio_API) represents events that occur when a ScriptProcessorNode input buffer is ready to be processed. An `audioprocess` event with this interface is fired on a ScriptProcessorNode when audio processing is required. During audio processing, the input buffer is read and processed to produce output audio data, which is then
AudioProcessingEvent: AudioProcessingEvent() constructor
io data will be written. ### Return value A new AudioProcessingEvent. ## Specifications ## Browser compatibility ## See also - AudioProcessingEvent - ScriptProcessorNode
AudioProcessingEvent: outputBuffer property
channel are determined by the channel count and buffer size properties of the `AudioBuffer`. ## Value An AudioBuffer object. ## Examples In this example, a ScriptProcessorNode is created with a buffer size of 256 samples, 2 input channels, and 2 output channels. When an audioprocess event is fired, the input and output buffers are retrieved from the event object. The audio data in the input buffer is processed, a