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

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

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

                                        Rescale the Range of a Sample to [-1,1]
                                         重新调整样品的范围为[-1,1]

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

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

Multiply the waveform of a Sample object or a wav file with a positive constant so that the maximum absolut value becomes 1, or any other specified constant.
的波形乘以样品对象或一个wav文件与一个正的常数,使得最大的绝对型值变为1,或任何其他指定常量。

Use this command before saving or playing a Sample object to avoid cracks in the sound caused by parts in the waveform that exceed the range [-1,1].
使用此命令之前保存或播放的Sample对象,以避免裂纹的声音引起的波形超出范围的部分是[-1,1]。


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





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

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


参数:level
a number between 0 and 1 specifying the desired maximum absolute value of the waveform.
0和1之间的一个数,指定的波形所需的最大绝对值。


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

a Sample object with the specified maximum absolut value of the waveform.
一个Sample对象与指定的最大绝对价值的波形。


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


Matthias Heymann



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

Ops.Sample, center
Ops.Sample,center


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


s <- .6*Sine(440,1)
plot(s)
plot(normalize(s)) # now it uses the full range[现在,它采用了全范围]
play(s)
play(normalize(s)) # this one is louder[这是大]


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-13 01:32 , Processed in 0.052385 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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