createScriptProcessor abstract method

ScriptProcessorNode createScriptProcessor([
  1. int bufferSize,
  2. int numberOfInputChannels,
  3. int numberOfOutputChannels
])

The createScriptProcessor() method of the BaseAudioContext interface creates a ScriptProcessorNode used for direct audio processing.

Note: This feature was replaced by AudioWorklets and the AudioWorkletNode interface.

Implementation

ScriptProcessorNode createScriptProcessor([
  int bufferSize,
  int numberOfInputChannels,
  int numberOfOutputChannels,
]);