web api instance property
ScriptProcessorNode: bufferSize property
The bufferSize property of the ScriptProcessorNode interface returns an integer representing both the input and output buffer size, in sample-frames. Its value can be a power of 2 value in the range 256 – 16384.
[!NOTE] This feature was replaced by AudioWorklets and the
AudioWorkletNodeinterface.
Value
An integer.
Examples
See BaseAudioContext.createScriptProcessor() for example code.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.