harmEnergy: Energy in harmonics
Description
Internal soundgun function
Usage
harmEnergy(pitch, s, freqs = NULL, coef = 1.25)
Arguments
pitch
pitch estimates, Hz (vector)
s
spectrogram (ncol = length(pitch))
freqs
as.numeric(rownames(s)) * 1000
coef
calculate above pitch * coef