# ScriptProcessorNode WebAudioContext.createScriptProcessor(number bufferSize, number numberOfInputChannels, number numberOfOutputChannels)
with Promise style call: Not supported
Mini Program plugin: Not supported
Create a ScriptProcessorNode
# parameter
# number bufferSize
Buffer size in sample frames
# number numberOfInputChannels
Specifies the number of channels to enter node
# number numberOfOutputChannels
Specifies the number of channels to output node
# Return value
# ScriptProcessorNode
# sample code
sample code
let audioCtx = wx.createWebAudioContext()
const sampleSize = 4096
audioContext.createScriptProcessor(sampleSize, 1, 1)