channel {tuneR} | R Documentation |
Channel conversion for Wave objects
Description
Convenient wrapper to extract one or more channels (or mirror channels) from an object of class Wave
.
Usage
channel(object, which = c("both", "left", "right", "mirror"))
Arguments
object |
Object of class |
which |
Character indicating which channel(s) should be returned. |
Details
For objects of WaveMC-class, channel selection can be performed by simple matrix indexing, e.g. WaveMCobject[,2]
selects the second channel.
Value
Wave
object including channels specified by which
.
Author(s)
Uwe Ligges ligges@statistik.tu-dortmund.de
See Also
Wave
, Wave-class, mono
, extractWave
[Package tuneR version 1.4.7 Index]