getPeakFreq {soundgen} | R Documentation |
Get peak frequency
Description
Internal soundgen function for finding frequency modulation in pitch contours. Called by analyze().
Usage
getPeakFreq(x, samplingRate, freqRange = NULL, parab = TRUE, plot = FALSE)
Examples
## Not run:
s = soundgen(sylLen = 1000, pitch = 500,
vibratoFreq = c(6, 12), vibratoDep = 2,
temperature = .001, addSilence = 5)
an = analyze(s, 16000, step = 5, windowLength = 25,
plot = TRUE, yScale = 'bark')
plot(an$detailed$fmFreq, type = 'l')
## End(Not run)
[Package soundgen version 2.7.2 Index]