revw {seewave} | R Documentation |
Reverse the wave along the time axis.
revw(wave, f, plot = FALSE, Sample = FALSE, ...)
wave |
data describing a time wave
or a Sample object generated loading a wav file
with loadSample (package sound). |
f |
sampling frequency of wave (in Hz).
Does not need to be specified if wave is a Sample object. |
plot |
logical, if TRUE returns an oscillographic plot of
the reversed wave (by default FALSE ). |
Sample |
if TRUE and plot is FALSE
returns an object of class Sample |
... |
other oscillo graphical parameters. |
If plot
is TRUE
returns an oscillogram of the reversed
wave.
If plot
is FALSE
, a new wave is returned as a one-column matrix
or as a Sample
object if Sample
is TRUE
.
Jerome Sueur sueur@mnhn.fr
oscillo
, addsilw
, deletew
,
fadew
, pastew
, mutew
data(tico) revw(tico,f=22050,plot=TRUE)