menu
 
版本
2024.1.4.8780

2024.1.4.8780

2023.1.12.8706

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
警告:此页面上某些受保护的信息未予显示。
若为特定平台的授权用户,请确保已登录相应的帐户。

Defining the properties of a bus

您可以使用总线属性来对游戏中的音频或振动进行全局更改。在定义总线属性时,您可以执行以下操作:

由于总线是控制的最后一级,所以您所做的更改都将影响其下方整组对象。

与对象一样,您也可以向总线上添加效果器、使用 RTPC、指派状态以及设置高级属性。有关详细信息,请参阅以下几节:

Defining the relative properties of a bus

您可为层级结构中的各条总线定义相对属性。相对属性是累积的,也就是说,总线的属性值会累加到其下的子对象中。

以下是您可以为总线修改的相对属性:

  • Bus Volume —— 总线音量。用于直接调整总线的音量大小。

  • Voice Volume(声部音量)– 总线中正在播放的音频对象所应用的衰减。

  • Voice Pitch(声部音高)– 总线中正在播放的音频对象的播放速度。

您可以在 Multi Editor(多项编辑器)中同时为多条总线编辑这些属性。从 Project Explorer 的 Audio 选项卡中以及从快捷菜单中选择多条总线,选择 Show in Multi Editor。在连接到游戏的同时,您还可以实时微调这些属性。

定义总线的相对属性的方法如下:

  1. 将一条总线加载到 Property Editor。

  2. 键入一个值或拖动相应滑杆来为其中一个相对属性设置一个值:

    info备注

    不得在连通音乐对象的总线上操作音高属性。音频总线中对音高所做的更改不会影响音乐对象。

Ducking signals

At some points in your game, certain audio signals need to be brought to prominence. Ducking allows you to do this by automatically lowering the volume of objects passing through one or more busses, depending on the signal of another bus. For example, while characters are speaking, background music is lowered. When the characters stop speaking, background music is restored.

In the timeline that follows, when the current bus plays a sound, other busses fade out, according to the Fade Out and Volume parameters. When the sound from the current bus ends, the Recovery time elapses, followed by the Fade In.

info备注

An alternative to auto-ducking is side-chaining with the Meter Effect plug-in. This method changes the level of the target bus dynamically, according to the level of the source bus. This offers more control than auto-ducking, where the ducked bus is lowered by a predetermined amount anytime there is sound on the current bus, regardless of the level of that sound. For more information, see “Using side-chaining”一节 and “Meter”一节.

To duck a bus:

  1. 将一条总线加载到 Property Editor。This is the current bus. It causes other busses to have their volume lowered, or ducked. Ducking is not available for Auxiliary Busses.

  2. In the Auto-ducking tab, click Insert.

  3. In the Project Explorer - Browser that opens, select the bus to be ducked when the current bus receives a signal. 总线无法要求自己或其直接父总线闪避。

  4. Click OK to add the selected bus to the pane.

  5. Set the properties for the bus:

    • Volume: Amount by which the volume of the ducked bus is reduced when the current bus receives a signal.

    • Fade Out: Time to fade out from the original volume to the ducked volume.

    • Fade In: Time to fade back to the original volume.

    • Curve: Curve shape used to define the fade-out and fade-in.

  6. Set the collective properties for all busses in the pane:

    • Recovery time: Amount of time you want to pass from the termination of the current bus signal to the beginning of the fade-in for the signals that were ducked.

    • Maximum ducking volume: Maximum amount by which the volume of the busses listed in the pane can be lowered by the current bus.

Replacing music with a player's own music

Xbox One、Xbox Series X、PlayStation 4、PlayStation 5、iOS 和 Android 平台允许游戏玩家将游戏音乐替换为自己的音乐。对于所有平台,用户音乐播放时,您必须为要静音的所有总线启用 Mute for Background Music 选项。可以选择多条总线,这对音乐总线而言没有限制。

将总线指派给平台的背景音乐选项:

  1. 将音频总线加载到 Property Editor。

  2. 选择 Mute for background music 选项。

    现在,在用户通过游戏机上的音乐播放器播放音乐时,此总线将会静音。

平台不同,Mute for background music 的行为会稍稍有点不同。而且,在初始化声音引擎时,需要进行额外编程

  • Android:Mute/Unmute(静音/取消静音)操作将仅在用户从音乐播放器应用程序切换至游戏时才会出现。也就是说,如果用户音乐自己结束播放了,那么就无需“Unmute”。

  • iOS:如果在声音引擎初始化设置中设置了 AudioSession 标志(flag)“MixOther”,则 只有在用户从音乐播放器应用程序切换至游戏时才会做 Mute/Unmute 操作。也就是说,如果用户音乐自己结束播放了,那么就无需“Unmute”。在 iOS 8 和更高版本中,如果使用的是 AVAudioSessionCategoryAmbient 类别,则出现任何应用程序的音频中断时,游戏音乐都会发生静音和取消静音。

  • Xbox One、Xbox Series X、PlayStation 4 和 PlayStation 5:某些平台具有 DVR 功能,可让游戏玩家录制并发布其游戏过程。这会带来一些法律问题,其中涉及到游戏音频当中受版权保护的音乐或用户可替换音乐。虽然游戏工作室有权在其游戏中使用所述音乐,但最终用户可能无权以任何形式对其进行分发。因此,平台要求中通常规定不允许录制用户背景音乐。对此,我们可以采用一种经济高效的解决方案(就 CPU 而言)来将游戏中的音乐和其余声音分开进行混音。使用 Secondary Output(二路输出)功能可完成该操作。

    对于禁止录制的声音,Xbox One、Xbox Series X、PlayStation 4 和 PlayStation 5 提供了专门接收它们的虚拟设备。您需要新建一条 Master Bus,用来为 DVR-bypass Audio Device 进行特殊混音。然后更改该新的总线上的 Audio Device 属性,使其指向 DVR-bypass 设备。随后声音可以正常输出到新的总线或子总线中。有关详细信息,请参阅“Understanding secondary outputs”一节


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅