harmHeight_peaks {soundgen} | R Documentation |
Height of harmonics: peaks method
Description
Internal soundgen function
Usage
harmHeight_peaks(
frame_dB,
pitch,
bin,
freqs,
harmThres = 3,
harmTol = 0.25,
plot = FALSE
)
Arguments
pitch |
the final pitch estimate for the current frame |
bin |
spectrogram bin width, Hz |
freqs |
frequency per bin of spectrogram |
harmThres |
minimum height of spectral peak, dB |
harmTol |
maximum tolerated deviation of peak frequency from multiples of f0, proportion of f0 |
plot |
if TRUE, produces a plot of spectral peaks |
Details
Estimates how far harmonics reach in the spectrum by checking how many spectral peaks we can find close to multiples of f0.
[Package soundgen version 2.7.1 Index]