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.
Parameters
Section titled “Parameters”audioBuffer
Section titled “audioBuffer”any
loopData
Section titled “loopData”any
Returns
Section titled “Returns”object
new buffer + the new normalized loop end (loop start is unchanged)
buffer
Section titled “buffer”buffer:
any
newLoopEnd
Section titled “newLoopEnd”newLoopEnd:
number