Add or insert a silence section to a time wave.
addsilw(wave, f, channel = 1, at = "end", choose = FALSE, d = NULL,
plot = FALSE, output = "matrix", ...)
If plot
is FALSE
, a new wave is returned. The class
of the returned object is set with the argument output
.
an R object.
sampling frequency of wave
(in Hz). Does not need to
be specified if embedded in wave
.
channel of the R object, by default left channel (1).
position where to add the silence section (in s).
Can be also specified as "start"
, "middle"
or "end"
.
logical, if TRUE
the point where silence will
be added into wave2
(=at
) can be graphically chosen with a cursor.
duration of the silence section to add (in s).
logical, if TRUE
returns an oscillographic plot
of wave
with the new silence section (by default TRUE
).
character string, the class of the object to return, either
"matrix"
, "Wave"
, "Sample"
, "audioSample"
or "ts"
.
other oscillo
graphical parameters.
Jerome Sueur sueur@mnhn.fr
oscillo
, cutw
,deletew
,
fadew
,pastew
, mutew
,revw
,
zapsilw