最終更新:2013-03-06 (水) 21:51:13 (4066d)  

createScriptProcessor
Top / createScriptProcessor

ScriptProcessorNode createScriptProcessor(unsigned long bufferSize,
                                              optional unsigned long numberOfInputChannels = 2,
                                              optional unsigned long numberOfOutputChannels = 2);

メモ

メモ

  • The ScriptProcessorNode is constructed with a bufferSize which must be one of the following values: 256, 512, 1024, 2048, 4096, 8192, 16384. This value controls how frequently the onaudioprocess event handler is called and how many sample-frames need to be processed each call. Lower numbers for bufferSize will result in a lower (better) latency. Higher numbers will be necessary to avoid audio breakup and glitches. The value chosen must carefully balance between latency and audio quality.

関連