ceps(wave, f, wl = 512, at = FALSE, from = FALSE, to = FALSE, tpeaks = FALSE,
fpeaks = FALSE, identify = FALSE, col = "black", cex = 1, colpeaks = "red", cexpeaks = 0.75,
fontpeaks = 1, plot = TRUE, qlab = "Quefrency (s)", alab = "Amplitude",
type = "l", ...)
Sample
object generated loading a wav file with loadSample
(package wave
(in Hz).
Does not need to be specified if wave
is a Sample
object.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.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 identify
, press tpeaks
and fpeaks
just differ in the unit of the results.autoc
data(sheep)
ceps(sheep,f=22050,at=0.4,wl=1024)
# peaks detection in Hertz, the fundamental is at 416 Hz.
ceps(sheep,f=22050,at=0.4,wl=1024,fpeaks=63)
Run the code above in your browser using DataLab