Skip to content

doubleSpeedQuantzLoop

doubleSpeedQuantzLoop(audioBuffer, loopData, opts?): object

Defined in: packages/pleco-xa/src/playback/ops.js:207

Double speed quantz — gapless: compress the loop content at 2x speed into half the space and shift everything after it left to close the gap. The returned buffer is SHORTER.

any

any

object

new buffer + the new normalized loop end (loop start is unchanged)

buffer: any

newLoopEnd: number