left(sound)
left()所属R语言包:sound
Extract one Channel from a Stereo Sample
从立体声采样提取一个通道
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extract either the left or the right channel of a stereo Sample object or a stereo wav file.
提取的左侧或右声道立体声的Sample对象或立体声wav文件。
用法----------Usage----------
right(s)
参数----------Arguments----------
参数:s
a Sample object, or a string giving the name of a wav file.
样品对象,或者一个字符串,给出一个wav文件的名称。
Details
详细信息----------Details----------
If s is a mono sample, it will be returned as it is.
如果s是一个单样本,它将被返回的,因为它是。
值----------Value----------
a Sample object containing the left or the right channel of s.
样品对象,其中包含左或右声道的s。
(作者)----------Author(s)----------
Matthias Heymann
参见----------See Also----------
stereo for creating a stereo Sample object from two mono samples.
stereo创建一个由两个单声道采样的立体声采样对象。
实例----------Examples----------
sLeft <- Sine(440,1)
sRight <- Sine(220,1)
s <- stereo(sLeft,sRight)
play(s)
play(left(s)) # only the left channel[仅在左声道]
play(right(s)) # only the right channel[只有右声道]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|