piptrackPeaks
piptrackPeaks(
options?):object
Defined in: packages/pleco-xa/src/feature/chroma.js:36
Pitch tracking on thresholded parabolically-interpolated STFT (piptrack), restricted to what estimate_tuning needs: returns the sparse list of detected {pitch, mag} peaks.
Parameters
Section titled “Parameters”options?
Section titled “options?”any = {}
{ y, sr, S, n_fft, hop_length, fmin, fmax, threshold }
Returns
Section titled “Returns”object
mags:
number[]
pitches
Section titled “pitches”pitches:
number[]