ceps(wave, f, wl = 512, at = NULL, from = NULL, to = NULL,
tpeaks = NULL, fpeaks = NULL, tidentify = FALSE,
fidentify = FALSE, col = "black", cex = 1,
colpeaks = "red", cexpeaks = 0.75, fontpeaks = 1, plot = TRUE,
qlab = "Quefrency (bottom: s, up: Hz)", alab = "Amplitude",
qlim = NULL, alim = NULL, type = "l", ...)at is not null, length of the window for the analysis
(even number of points, by defaults = 512).details).details).TRUE plots the cepstrum.plot is TRUE, type of plot that should be drawn.
See plot for details (by default "l" for lines).plot graphical parameters.plot is FALSE, ceps returns the cesptral profile as a two-column matrix, the first column corresponding to quefrency (x-axis) and the second
corresponding to amplitude (y-axis).plot is TRUE.
If at, from or to are FALSE then ceps
computes the cepstrum of the whole signal.
tpeaks and fpeaks setting corresponds to dimension
of embed.
When using tidentify or tidentify, press tpeaks and fpeaks
just differ in the unit of the results.cepstro, fund, autocdata(sheep)
ceps(sheep,f=8000,at=0.4,wl=1024)
# peaks detection in Hertz, the fundamental is at 160 Hz.
ceps(sheep,f=8000,at=0.4,wl=1024,fpeaks=63)Run the code above in your browser using DataLab