Source code

Revision control

Copy as Markdown

Other Tools

/**
* @class DummyProcessor
* @extends AudioWorkletProcessor
*
* This processor class demonstrates the bare-bone structure of the processor.
*/
class DummyProcessor extends AudioWorkletProcessor {
constructor() {
super();
}
process(inputs, outputs, parameters) {
// Doesn't do anything here.
return true;
}
}
registerProcessor('dummy', DummyProcessor);