addsilw {seewave} | R Documentation |
Add or insert a silence section to a time wave.
addsilw(wave, f, at = "end", choose = FALSE, d = NULL, plot = FALSE, output = "matrix", ...)
wave |
an R object. |
f |
sampling frequency of wave (in Hz). Does not need to be specified if embedded in wave . |
at |
position where to add the silence section (in s).
Can be also specified as "start" , "middle" or "end" . |
choose |
logical, if TRUE the point where silence will
be added into wave2 (=at ) can be graphically chosen with a cursor. |
d |
duration of the silence section to add (in s). |
plot |
logical, if TRUE returns an oscillographic plot
of wave with the new silence section (by default TRUE ). |
output |
character string, the class of the object to return, either
"matrix" , "Wave" , "Sample" , "audioSample" or "ts" . |
... |
other oscillo graphical parameters. |
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
oscillo
, cutw
,deletew
,
fadew
,pastew
, mutew
,revw
,
zapsilw