找回密码
 注册
查看: 386|回复: 0

R语言 sound包 left()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 12:03:39 | 显示全部楼层 |阅读模式
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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-9 20:42 , Processed in 0.025118 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表