You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
372B

  1. config.frameDivider = 1
  2. config.bufferSize = 32
  3. function process(block) {
  4. // Per-block inputs:
  5. // block.knobs[i]
  6. // block.switches[i]
  7. for (let j = 0; j < block.bufferSize; j++) {
  8. // Per-sample inputs:
  9. // block.inputs[i][j]
  10. // Per-sample outputs:
  11. // block.outputs[i][j]
  12. }
  13. // Per-block outputs:
  14. // block.lights[i][color]
  15. // block.switchLights[i][color]
  16. }