Internal soundgen function
harmHeight_peaks(
frame_dB,
pitch,
bin,
freqs,
harmThres = 3,
harmTol = 0.25,
plot = FALSE
)
the final pitch estimate for the current frame
minimum height of spectral peak, dB
maximum tolerated deviation of peak frequency from multiples of f0, proportion of f0
if TRUE, produces a plot of spectral peaks
Estimates how far harmonics reach in the spectrum by checking how many spectral peaks we can find close to multiples of f0.