GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing developer.mozilla.org — ScriptProcessorNode - Web APIs | MDN ScriptProcessorNode
|
| Number of inputs | 1 |
|---|---|
| Number of outputs | 1 |
| Channel count mode | "max" |
| Channel count | 2 (not used in the default count mode) |
| Channel interpretation | "speakers" |
Inherits properties from its parent, AudioNode.
ScriptProcessorNode.bufferSize Read only Returns an integer representing both the input and output buffer size. Its value can be a power of 2 value in the range 256 – 16384.
No specific methods; inherits methods from its parent, AudioNode.
Listen to these events using addEventListener() or by assigning an event listener to the oneventname property of this interface:
audioprocess Fired when an input buffer of a ScriptProcessorNode is ready to be processed.
Also available via the onaudioprocess event handler property.
See BaseAudioContext.createScriptProcessor() for example code.
| Specification |
|---|
| Web Audio API # ScriptProcessorNode |