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:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|