glitchBurst
glitchBurst(
buffer,options?): () =>void
Defined in: packages/pleco-xa/src/core/loopPlayground.js:303
Run a timed burst of random loop glitch operations.
Parameters
Section titled “Parameters”buffer
Section titled “buffer”any
buffer to glitch
options?
Section titled “options?”AudioContext
audio context used for playback timing
durationMs?
Section titled “durationMs?”number = 8000
total burst length (ms)
maxMs?
Section titled “maxMs?”number = ...
maximum loop length (ms; defaults to buffer duration)
minMs?
Section titled “minMs?”number = 100
minimum loop length (ms)
onUpdate?
Section titled “onUpdate?”() => void = ...
called after each applied op
Returns
Section titled “Returns”() => void