reverseSection
reverseSection(
audioBuffer,startSample,endSample,opts?):any
Defined in: packages/pleco-xa/src/playback/ops.js:508
Reverse a sample range of a buffer WITHOUT mutating the input (copy-then-reverse; contrast with the in-place core reverseBufferSection).
Parameters
Section titled “Parameters”audioBuffer
Section titled “audioBuffer”any
startSample
Section titled “startSample”number
inclusive start of the section
endSample
Section titled “endSample”number
exclusive end of the section
Returns
Section titled “Returns”any
new buffer (same length as input)