repw {seewave} | R Documentation |
This function repeats a time wave
repw(wave, f, times = 2, plot = FALSE, Sample = FALSE, ...)
wave |
data or a Sample object generated loading a wav file
with loadSample (package sound)
describing the time wave to be repeated. |
f |
sampling frequency of wave (in Hz).
Does not need to be specified if wave is a Sample object. |
times |
a numeric of length 1 describing the number of times the wave has to be repeated. |
plot |
logical, if TRUE plots the repeated time wave |
Sample |
if TRUE and plot is FALSE
returns an object of class Sample |
... |
other oscillo graphical parameters. |
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
, cutw
,
deletew
, fadew
, mutew
,
pastew
, revw
, zapsilw
data(tico) repw(tico,f=22050,plot=TRUE)