Learn R Programming

seewave (version 1.6.3)

cepstro: 2D-cepstrogram of a time wave

Description

This function returns a two-dimension cepstrographic representation of a time wave. The function corresponds to a short-term cepstral transform. An amplitude contour plot can be overlaid.

Usage

cepstro(wave, f, wl = 512, ovlp = 0, plot = TRUE, grid = TRUE,
scale = TRUE, cont = FALSE, collevels = seq(0, 1, 0.01),
palette = rev.heat.colors, contlevels = seq(0, 1, 0.01),
colcont = "black", colbg="white", colgrid = "black",
colaxis = "black", collab = "black",
xlab = "Time (s)", ylab = "Quefrency (ms)",
scalelab = "Amplitude", main = NULL, scalefontlab = 1, scalecexlab = 0.75,
axisX = TRUE, axisY = TRUE, ...)

Arguments

Value

  • This function returns a list of three items:
  • timea numeric vector corresponding to the time axis.
  • freqa numeric vector corresponding to the quefrency axis.
  • ampa numeric matrix corresponding to the the successive cepstral profiles computed along time.

Details

It is unfortunately not possible to turn the y-axis to a frequency scale. See spectro for the use of the graphical arguments.

References

Oppenheim, A.V. and Schafer, R.W. 2004. From frequency to quefrency: a history of the cepstrum. Signal Processing Magazine IEEE, 21: 95-106.

See Also

ceps, fund, autoc

Examples

Run this code
data(sheep)
sheepc <- cutw(sheep, f=8000, from = 0.19, to = 2.3)
cepstro(sheepc,f=8000)

Run the code above in your browser using DataLab