Skip to content

samples_to_frames

samples_to_frames(samples, hop_length?, n_fft?): number | any[]

Defined in: packages/pleco-xa/src/scripts/xa-convert.js:33

Convert audio samples to frame indices

number | any[]

Sample indices

number = 512

Hop length

number = null

FFT window size (optional)

number | any[]

Frame indices