revealHiddenHalf
revealHiddenHalf(
currentBuffer,originalBuffer,loopData,opts?):any
Defined in: packages/pleco-xa/src/playback/ops.js:558
Reveal the “hidden” second half of a half-speed-quantz’d loop: replace the loop window with the SECOND half of the original loop content, half-speed stretched (optionally reversed). Used by the demo’s nudge toggle.
Parameters
Section titled “Parameters”currentBuffer
Section titled “currentBuffer”any
the processed buffer currently playing
originalBuffer
Section titled “originalBuffer”any
the unprocessed source buffer
loopData
Section titled “loopData”normalized loop
number
number
createBuffer?
Section titled “createBuffer?”Function
reverse?
Section titled “reverse?”boolean
Returns
Section titled “Returns”any
new buffer (same length as currentBuffer)