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
357B

  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 j=1,block.bufferSize do
  8. -- Per-sample inputs:
  9. -- block.inputs[i][j]
  10. -- Per-sample outputs:
  11. -- block.outputs[i][j]
  12. end
  13. -- Per-block outputs:
  14. -- block.lights[i][color]
  15. -- block.switchLights[i][color]
  16. end