Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
3 results across 6 corpora for BaseAudioContext: createScriptProcessor() method.
Developer library 3
ScriptProcessorNode
he ScriptProcessorNode.](webaudioscriptprocessingnode.png) The size of the input and output buffer are defined at the creation time, when the BaseAudioContext.createScriptProcessor method is called (both are defined by BaseAudioContext.createScriptProcessor's `bufferSize` parameter). The buffer size must be a power of 2 between `256` and `16384`, that is `256`, `512`, `1024`, `2048`, `4096`, `8192` or `16384`. Small
BaseAudioContext
riodicWave() - : Creates a PeriodicWave, used to define a periodic waveform that can be used to determine the output of an OscillatorNode. - BaseAudioContext.createScriptProcessor() - : Creates a ScriptProcessorNode, which can be used for direct audio processing via JavaScript. - BaseAudioContext.createStereoPanner() - : Creates a StereoPannerNode, which can be used to apply stereo panning to an audio source.
BaseAudioContext: createScriptProcessor() method
Web Audio API The `createScriptProcessor()` method of the BaseAudioContext interface creates a ScriptProcessorNode used for direct audio processing. > [!NOTE] > This feature was replaced by [AudioWorklets](/docs/Web/API/AudioWorklet) and the AudioWorkletNode interface. ## Syntax ```js-nolint createScriptProcessor(bufferSize, numberOfInputChannels, numberOfOutputChannels) ``` ### Parameters - `bufferSize` - :