samples_like
samples_like(
X,hop_length?,n_fft?,axis?):Int32Array<ArrayBufferLike>
Defined in: packages/pleco-xa/src/scripts/xa-convert.js:687
Return an array of sample indices to match the time axis from a feature matrix
Parameters
Section titled “Parameters”number | any[]
Feature matrix or number of frames
hop_length?
Section titled “hop_length?”number = 512
Hop length
n_fft?
Section titled “n_fft?”number = null
FFT size
number = -1
Time axis (default -1)
Returns
Section titled “Returns”Int32Array<ArrayBufferLike>
Array of sample indices