addsilw {seewave} | R Documentation |
Add or insert a silence section
Description
Add or insert a silence section to a time wave.
Usage
addsilw(wave, f, channel = 1, at = "end", choose = FALSE, d = NULL,
plot = FALSE, output = "matrix", ...)
Arguments
wave |
an R object. |
f |
sampling frequency of |
channel |
channel of the R object, by default left channel (1). |
at |
position where to add the silence section (in s).
Can be also specified as |
choose |
logical, if |
d |
duration of the silence section to add (in s). |
plot |
logical, if |
output |
character string, the class of the object to return, either
|
... |
other |
Value
If plot
is FALSE
, a new wave is returned. The class
of the returned object is set with the argument output
.
Author(s)
Jerome Sueur sueur@mnhn.fr
See Also
oscillo
, cutw
,deletew
,
fadew
,pastew
, mutew
,revw
,
zapsilw