Rescale the range of values
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 |
|
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 |
Uwe Ligges ligges@statistik.tu-dortmund.de, Sarah Schnackenberg, based on code from Matthias Heymann's former package ‘sound’.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.