Note: 2014/8/29のWeb Audio API仕様公開にて、本機能は廃止対象となりAudio Workersの機能によって置き換えられる予定です.
AudioNode audio-processing module that is linked to two buffers, one containing the input audio data, one containing the processed output audio data. An event, implementing the
AudioProcessingEvent interface, is sent to the object each time the input buffer contains new data, and the event handler terminates when it has filled the output buffer with data.
The size of the input and output buffer are defined at the creation time, when the
AudioContext.createScriptProcessor() method is called (both are defined by
bufferSize parameter). The buffer size must be a power of 2 between
16384, that is
16384. Small numbers lower the latency, but large number may be necessary to avoid audio breakup and glitches.
If the buffer size is not defined, which is recommended, the browser will pick one that its heuristic deems appropriate.
|Number of inputs||
|Number of outputs||
|Channel count mode||
No specific methods; inherits methods from its parent,
|Web Audio API
BCD tables only load in the browser