Constructors and coercion for class WaveMC objects
Constructors and coercion for class WaveMC
objects
WaveMC(data, ...) ## S4 method for signature 'matrix' WaveMC(data = matrix(numeric(0), 0, 0), samp.rate = 44100, bit = 16, pcm = TRUE, ...)
data |
Except for a numeric matrix, the argument |
samp.rate, bit, pcm |
See Section “Slots” on the help page WaveMC-class. |
... |
Further arguments to be passed to the matrix method. |
An object of WaveMC-class.
Uwe Ligges ligges@statistik.tu-dortmund.de, Sarah Schnackenberg
# constructing a WaveMC object (1 sec.) containing sinus sound with 440Hz: x <- seq(0, 2*pi, length = 44100) channel <- round(32000 * sin(440 * x)) WMCobj <- WaveMC(data = channel) WMCobj
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.