startBeatGlitch
startBeatGlitch(
audioBuffer,options?): () =>void
Defined in: packages/pleco-xa/src/core/beatGlitcher.js:13
Start a per-bar glitch sequence over the buffer.
Parameters
Section titled “Parameters”audioBuffer
Section titled “audioBuffer”any
buffer to glitch (required)
options?
Section titled “options?”maxOpsPerBar?
Section titled “maxOpsPerBar?”number = 1
random ops applied per bar
onUpdate?
Section titled “onUpdate?”(result) => void
called with each step result
Returns
Section titled “Returns”stop function
() => void