Time reverse of a time wave
Reverse the wave along the time axis.
revw(wave, f, channel = 1, env = TRUE, ifreq = TRUE, plot = FALSE, output = "matrix", ...)
wave |
an R object. |
f |
sampling frequency of |
channel |
channel of the R object, by default left channel (1). |
env |
logical, if |
ifreq |
logical, if |
plot |
logical, if |
output |
character string, the class of the object to return, either
|
... |
other |
If plot is TRUE returns an oscillogram of the reversed
wave. The amplitude and the instantaneous frequency can be independently reversed
thanks to the arguments env and ifreq. See the examples.
If plot is FALSE, a new wave is returned. The class
of the returned object is set with the argument output.
Jerome Sueur sueur@mnhn.fr
Beeman, K. 1998. Digital signal analysis, editing and synthesis in Hopp, S. L., Owren, M. J. and Evans, C. S. (Eds) 1998. Animal acoustic communication, pp. 59-103. Springer, Berlin, Heidelberg.
data(tico) # simple reverse revw(tico,f=22050,plot=TRUE) # envelope reverse only revw(tico,f=22050,ifreq=FALSE, plot=TRUE) # instantaneous frequency reverse only revw(tico,f=22050,env=FALSE, plot=TRUE)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.