computeChroma
computeChroma(
audioBuffer,hopLength?):Float32Array<ArrayBufferLike>[]
Defined in: packages/pleco-xa/src/scripts/xa-recurrence.js:29
Compute chroma features from audio buffer
Parameters
Section titled “Parameters”audioBuffer
Section titled “audioBuffer”any
hopLength?
Section titled “hopLength?”number = 512
Returns
Section titled “Returns”Float32Array<ArrayBufferLike>[]
12 chroma rows × numFrames columns (empty array if the buffer is too short for a single frame)