noSilence | R Documentation |
Generic function to cut off silence or low noise at the beginning and/or at the end of an object of class Wave
or class WaveMC
.
noSilence(object, zero = 0, level = 0, where = c("both", "start", "end"))
object |
Object of class |
zero |
The zero level (default: 0) at which ideal cut points are determined (see Details).
A typical alternative would be 127 for 8 bit |
level |
Values in the interval between |
where |
One of |
Silcence is removed at the locations given by where
of the Wave
or WaveMC
object,
where silence is defined such that (in both channels if stereo, in all channels if multichannel for WaveMC
) all values are in
the interval between zero - level
and zero + level
.
All values before (or after, respectively) the first non-silent value are removed from the object.
An object of class Wave
or WaveMC
.
Uwe Ligges ligges@statistik.tu-dortmund.de, Sarah Schnackenberg, based on code from Matthias Heymann's former package ‘sound’.
silence
, Wave-class, Wave
, WaveMC-class, WaveMC
, extractWave
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.