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

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

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

                                        Play a Sample Object or a WAV File
                                         播放一个示例对象或WAV的文件

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

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

Play a Sample object or a wav file, using the wav file play command returned by WavPlayer, or any other specified command.
一个的样本对象或一个wav文件播放,使用的wav文件的播放命令返回的WavPlayer,或任何其他指定的命令。


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





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

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


参数:stay
logical. If TRUE, the Windows Media Player won't be closed after playing the sample.
逻辑。如果是TRUE,Windows媒体播放器将不会被关闭后,打样品。


参数:command
a character string giving the system command to be used for playing the sample.
一个字符字符串,给出用于打样品的系统命令。


Details

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

If s is a Sample object, it will be saved into a temporary folder before it is played. The temporary file will only be deleted afterwards if stay=FALSE.
如果s是一个简单的对象,它会被保存到一个临时文件夹播放之前。临时文件将被删除后,如果stay=FALSE。


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


Matthias Heymann



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


s <- Sine(440,1)
play(s)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-9 18:38 , Processed in 0.020519 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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