Internal soundgen function
harmHeight_dif(
frame_dB,
pitch,
bin,
freqs,
harmThres = 3,
harmTol = 0.25,
harmPerSel = 5,
plot = FALSE
)
the final pitch estimate for the current frame
spectrogram bin width, Hz
frequency per bin of spectrogram
minimum height of spectral peak, dB
maximum tolerated deviation of peak frequency from multiples of f0, proportion of f0
the number of harmonics per sliding selection
if TRUE, produces a plot of spectral peaks
Estimates how far harmonics reach in the spectrum by analyzing the typical distances between spectral peaks in different frequency regions.