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

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

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

                                        Narrow the Panorama of a Stereo Sample
                                         缩小全景的立体声采样

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

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

Narrow the panorama of a stereo Sample object or of a stereo wav file.
缩小的全景立体声采样对象或立体声WAV文件。


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





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

参数:s
a Sample object, or a string giving the name of a wav file.
样品对象,或者一个字符串,给出一个wav文件的名称。


参数:pan
a number between -50 and 50 giving the width of the panorama.
-50和50之间的一个数,赋予的宽度的全景。


Details

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

If abs(pan)<50, mixtures of the two channels of s are used for the left and the right channel of the returned Sample object, so that they appear closer to the center. For pan=0, both sounds are completely in the center.
如果abs(pan)<50,混合物的两个通道s用于返回的Sample对象的左侧和右声道,以便它们出现更接近中心。对于pan=0,两种声音是完全的中心。

If pan<0, the left and the right channel are interchanged afterwards.
如果pan<0中,左和右声道互换之后。


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

a Sample object with the transformed panorama.
一个Sample对象与转换的全景。


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


Matthias Heymann



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

mirror for pan=-50, left and right for access to single channels of the sample.
mirrorpan=-50,left和right单一渠道获得的样品。


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


s <- stereo(Sine(440,1),Sine(330,1))
play(s)
play(panorama(s,30))  # now right and left tones are closer to the center[现在,右侧和左侧的色调更接近中心]
play(panorama(s,10))  # now even closer[现在更接近]
play(panorama(s,0))   # now both at the center, the same as setChannels(s,1)[现在都在中心,作为setChannels相同(1)]
play(panorama(s,-30)) # again wider, but both sides switched[再宽,但双方交换]
play(panorama(s,-50)) # the same as mirror(s)[如镜相同的()]


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 14:08 , Processed in 0.029940 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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