Mono-Stereo {tuneR} | R Documentation |
Functions to extract a channel from a stereo Wave
object,
and to join channels of two monophonic Wave
objects to a stereophonic one.
mono(object, which = c("left", "right")) stereo(left, right)
object |
Object of class Wave . |
which |
Character, indicating whether the “left” or “right” channel should be extracted. |
left |
Object of class Wave containing mono phonic sound,
to be used for the left channel. |
right |
Object of class Wave containing mono phonic sound,
to be used for the right channel. |
An object of class Wave
.
Uwe Ligges, ligges@statistik.uni-dortmund.de
x <- seq(0, 2*pi, length = 44100) Wobj <- Wave(left = round(32000 * sin(440 * x))) Wobj Wobj2 <- stereo(Wobj, Wobj) Wobj2 mono(Wobj2, "right")