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

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

[复制链接]
发表于 2012-9-30 12:06:35 | 显示全部楼层 |阅读模式
stereo(sound)
stereo()所属R语言包:sound

                                        Create a Stereo Sample Object from Two Mono Samples
                                         创建一个立体声采样对象,从两个单样品

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Create a stereo Sample object, given the two channels as Sample objects or wav files.
创建一个立体的Sample对象,两个通道为样本对象或WAV文件。


用法----------Usage----------





参数----------Arguments----------

参数:sLeft
a Sample object or a string giving the name of a wav file. Used for the left channel.
一个的样本对象或一个字符串,给出一个wav文件的名称。用于左声道。


参数:sRight
a Sample object or a string giving the name of a wav file. Used for the right channel.
一个的样本对象或一个字符串,给出一个wav文件的名称。用于右声道。


参数:pan
a number between -50 and 50 describing the distance between the two sound sources.
-50和50描述的两个声源之间的距离之间的一个数。


Details

详细信息----------Details----------

If abs(pan)<50, mixtures of the two sources are used for the left and the right channel so that they appear closer to the center. For pan=0, both sounds are at the center. If pan<0, left and right channel are interchanged afterwards.
如果abs(pan)<50,两种来源的混合物被用于左,右声道,以便它们出现更接近中心。对于pan=0,两个声音在中心。如果pan<0,左和右声道互换之后。

If the samples have different sample parameters (bits, rate and channels), the command codefitSampleParameters is called to adjust them before the two samples are combined.
如果该样品有不同的样品的参数(比特率和信道),被称为命令codefitSampleParameters两个样本被组合之前,对它们进行调整。


值----------Value----------

a stereo Sample object.
一个立体声采样对象。


(作者)----------Author(s)----------


Matthias Heymann



参见----------See Also----------

left, right, as.Sample, panorama
left,right,as.Sample,panorama


实例----------Examples----------


sLeft <- Sine(440,1)
sRight <- Sine(220,1)
s <- stereo(sLeft,sRight)
play(s)


转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-10 06:10 , Processed in 0.022598 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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