frame
frame(
x,options):any[]
Defined in: packages/pleco-xa/src/scripts/xa-util.js:64
Slice a data array into (overlapping) frames
Parameters
Section titled “Parameters”any[] | Float32Array<ArrayBufferLike>
Array to frame
options
Section titled “options”Framing parameters
number = -1
Axis along which to frame
frameLength
Section titled “frameLength”number
Length of each frame
hopLength
Section titled “hopLength”number
Number of steps to advance between frames
Returns
Section titled “Returns”any[]
Array of frames