Skip to content

closeGapRight

closeGapRight(audioBuffer, loopData, opts?): object

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

Close a detected gap by removing it and rescaling the loop end to the shorter buffer (content after the gap keeps its absolute position relative to the loop end).

any

any

object

buffer: any

gapSize: number

newLoopEnd: number