Mono-Stereo              package:tuneR              R Documentation

_C_o_n_v_e_r_t_i_n_g (_e_x_t_r_a_c_t_i_n_g, _j_o_i_n_i_n_g) _s_t_e_r_e_o _t_o _m_o_n_o _a_n_d _v_i_c_e _v_e_r_s_a

_D_e_s_c_r_i_p_t_i_o_n:

     Functions to extract a channel from a stereo 'Wave' object, and to
     join channels of two monophonic 'Wave' objects to a stereophonic
     one.

_U_s_a_g_e:

     mono(object, which = c("left", "right"))
     stereo(left, right)

_A_r_g_u_m_e_n_t_s:

  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.

_V_a_l_u_e:

     An object of class 'Wave'.

_A_u_t_h_o_r(_s):

     Uwe Ligges, ligges@statistik.uni-dortmund.de

_S_e_e _A_l_s_o:

     'Wave'

_E_x_a_m_p_l_e_s:

     x <- seq(0, 2*pi, length = 44100)
     Wobj <- Wave(left = round(32000 * sin(440 * x)))
     Wobj
     Wobj2 <- stereo(Wobj, Wobj)
     Wobj2
     mono(Wobj2, "right")

