R: Constructors and coercion for class Wave objects
Wave
R Documentation
Constructors and coercion for class Wave objects
Description
Constructors and coercion for class Wave objects
Usage
Wave(left, ...)
## S4 method for signature 'numeric'
Wave(left, right = numeric(0), samp.rate = 44100, bit = 16, pcm = TRUE, ...)
Arguments
left, right, samp.rate, bit, pcm
See Section “Slots” on the help page Wave-class.
Except for numeric, the argument left can also be a matrix (1 or 2 columns), data.frame (1 or 2 columns), list (1 or 2 elements), or WaveMC (1 or 2 channels) object
representing the channels.
...
Further arguments to be passed to the numeric method.
Details
The class definition has been extended in tuneR version 1.0-0. Saved objects of class Wave generated with former versions can be
updated with updateWave to match the new definition.