Internal soundgen function.
getPitchCep(
frame,
samplingRate,
bin,
nCands,
cepThres,
cepSmooth,
cepZp,
pitchFloor,
pitchCeiling,
cepPenalty = 1,
logSpec = FALSE
)the abs spectrum of a frame, as returned by
fft
sampling rate (Hz)
spectrogram bin width, Hz
maximum number of pitch candidates per method, normally 1...4
(except for dom, which returns at most one candidate per frame)
voicing threshold (unitless, ~0 to 1)
the width of smoothing interval (Hz) for finding peaks in the cepstrum
zero-padding of the spectrum used for cepstral pitch detection (final length of spectrum after zero-padding in points, e.g. 2 ^ 13)
absolute bounds for pitch candidates (Hz)
absolute bounds for pitch candidates (Hz)
Returns either NULL or a dataframe of pitch candidates.
Attempts to find F0 of a frame by looking for peaks in the cepstrum. See http://www.phon.ucl.ac.uk/courses/spsci/matlab/lect10.html