Description Usage Arguments Details Value
View source: R/utilities_analyze.R
Internal soundgen function.
1 2 | getPitchCep(frame, cepZp, samplingRate, pitchFloor, pitchCeiling, cepThres,
cepSmooth = NULL, nCands)
|
frame |
the real part of the spectrum of a frame, as returned by
|
cepZp |
zero-padding of the spectrum used for cepstral pitch detection (final length of spectrum after zero-padding in points, e.g. 2 ^ 13) |
samplingRate |
sampling rate (Hz) |
pitchFloor |
absolute bounds for pitch candidates (Hz) |
pitchCeiling |
absolute bounds for pitch candidates (Hz) |
cepThres |
(0 to 1) separate voicing thresholds for detecting pitch candidates with three different methods: autocorrelation, cepstrum, and BaNa algorithm (see Details). Note that HNR is calculated even for unvoiced frames. |
cepSmooth |
the width of smoothing interval (in bins) for finding peaks in the cepstrum. Defaults to 31 for sampling rate 44100 and smaller odd numbers for lower values of sampling rate |
nCands |
maximum number of pitch candidates per method (except for
|
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
Returns either NULL or a dataframe of pitch candidates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.