normalize-methods | R Documentation |
Centering and rescaling the waveform of a Wave
or WaveMC
object to a canonical interval
corresponding to the Wave format (e.g. [-1, 1], [0, 254],
[-32767, 32767], [-8388607, 8388607], or [-2147483647, 2147483647]).
normalize(object, unit = c("1", "8", "16", "24", "32", "64", "0"),
center = TRUE, level = 1, rescale = TRUE, pcm = object@pcm)
object |
Object of class |
unit |
Unit to rescale to. |
center |
If |
level |
Maximal percentage of the amplitude used for normalizing (default is 1). |
rescale |
Logical, whether to rescale to the maximal possible dynamic range. |
pcm |
Logical. By default, the |
An object containing the normalized data of the same class as the input object
,
i.e. either Wave
or WaveMC
.
Uwe Ligges ligges@statistik.tu-dortmund.de, Sarah Schnackenberg, based on code from Matthias Heymann's former package ‘sound’.
writeWave
, Wave-class, Wave
, WaveMC-class, WaveMC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.