doubleSpeedUnquantzLoop
doubleSpeedUnquantzLoop(
audioBuffer,loopData,opts?):any
Defined in: packages/pleco-xa/src/playback/ops.js:277
Double speed unquantz: compress the loop content at 2x speed IN PLACE (track length unchanged), leaving either a natural glitch tail or — in fractal mode when there is not enough room after the loop — writing only the first half of the window so previously-layered content is preserved (the matryoshka effect).
Parameters
Section titled “Parameters”audioBuffer
Section titled “audioBuffer”any
loopData
Section titled “loopData”any
createBuffer?
Section titled “createBuffer?”Function
fractal?
Section titled “fractal?”boolean
Returns
Section titled “Returns”any
new buffer (same length as input)