DSP

Unity3D说明文档翻译-Audio Manager

2019-07-13 19:14发布

Audio Manager

音频管理器 The Audio Manager allows you to tweak the maximum volume of all sounds playing in the scene. To see it choose Edit > Project Settings > Audio. 音频管理器允许你扭曲所有场景内声音播放的最大音量.选择编辑>项目设置>音频可看到它.

Properties

属性 Property: Function: Volume 音量 The volume of all sounds playing. 所有声音播放的音量 Rolloff Scale 滚降比例 Sets the global attenuation rolloff factor for Logarithmic rolloff based sources (see Audio Source). The higher the value the faster the volume will attenuate, conversely the lower the value, the slower it attenuate (value of 1 will simulate the “real world”). 设置全局衰减滚降系数用于基于来源的指数滚降(查看声音资源).更高的值更快的音量将衰减,相反,更低的值,更慢的衰减(值为1将模拟真实世界). Doppler Factor 多普勒系数 How audible the Doppler effect is. When it is zero it is turned off. 1 means it should be quite audible for fast moving objects. 听得见的多普勒效应.当它是0时它是关闭的.它是1意味着它应该是完全可听见的快速移动对象. Default Speaker Mode 默认扬声器模式 Defines which speaker mode should be the default for your project. Default is 2 for stereo speaker setups (see AudioSpeakerMode in the scripting API reference for a list of modes). 定义哪个扬声器模式是你项目默认的.默认是2立体声模式(参考脚本API手册内的 AudioSpeakerMode,列出了一系列的模式 ). Sample Rate 取样频率 Output sample rate. If set to 0, the sample rate of the system will be used. Also note that this only serves as a reference as only certain platforms allow changing this, such as iOS or Android. 输出取样频率.如果设置为0,系统取样频率将被使用.注意,这只是一个参考只有特定平台允许改变,比如iOS 或安卓. DSP Buffer Size 数字信号处理缓冲大小 The size of the DSP buffer can be set to optimise for latency or performance 数字信号处理缓冲的大小最佳延迟或性能.   Default 默认 Default buffer size 默认缓冲大小   Best Latency 最佳延迟 Trades off performance in favour of latency 以性能换取延迟   Good Latency 适当延迟 Balance between latency and performance 平衡性能和延迟   Best Performance 最佳性能 Trades off latency in favour of performance 以延迟换取性能 Virtual Voice Count 虚拟声音计数 Number of virtual voices that the audio system manages. This value should always be larger than the number of voices played by the game. If not, warnings will be shown in the console. 音频系统管理的虚拟声音数量.这个值应该永远大于游戏播放的声音的数量.如果不是,控制台将显示警告. Real Voice Count 真实声音计数 Number of real voices that can be played at the same time. Every frame the loudest voices will be picked. 可以被同时播放的真实声音的数量.每个框架的最响声音将被挑中. Disable Audio 禁用音频 Deactivates the audio system in standalone builds. Note that this also affects the audio of MovieTextures. In the editor the audio system is still on and will support previewing audio clips, but AudioSource. Play calls and playOnAwake will not be handled in order to simulate behavior of the standalone build. 使音频系统在单个构建内无效.注意,这也影响视频贴图.在编辑器内音频系统被静止且将支持预览音频剪辑,但声音资源播放调用和唤醒时播放将不被处理以便模拟单独构建行为.

Details

详细信息 If you want to use Doppler Effect set Doppler Factor to 1. Then tweak both Speed of Sound andDoppler Factor until you are satisfied. Speaker mode can be changed runtime from your application through scripting. See Audio Settings. 如果你想使用多普勒效应设置多普勒系数为1.然后扭曲多普勒系数和音速直到你感到满意为止.扬声器模式可以从你的程序通过脚本实时改变.参考声音设置.