版本

menu_open
警告:系统已根据您所用大版本 (2024.1.2.8726) 自动跳转至最新文档。若想访问特定版本的文档,请从 Audiokinetic Launcher 下载离线文档,并在 Wwise 设计程序中勾选 Offline Documentation 选项。

External Source(外部源)

In Wwise, each sound object is linked to a specific source. The source is the sound that plays, for example, when triggered by an Event. Typically, the source is an audio file found in a static SoundBank that is generated before the game is played.

With the External Source plug-in, the source can be an audio file that is not part of a SoundBank. Instead, the file is provided externally and loaded dynamically at runtime. This is especially useful for scenarios where there are large numbers of sounds. Without the plug-in, you would need to create a sound object and an Event in Wwise for each sound, and manage the resulting SoundBanks. The plug-in also supports the playback of audio generated at runtime, such as that based on user input or preferences.

However, compared to using precompiled SoundBanks, the External Source plug-in introduces complexity to the workflow, and some manual setup in the Wwise SDK. For detailed instructions, see the Integrating External Sources and Using External Sources sections of the Wwise SDK documentation. It also requires implementation in Wwise Authoring, as in this example:

  1. On a sound object, add an External Source:

    1. Open the Contents Editor of the sound object. 请参阅 “Sound objects”一节

    2. Click Add Source, and select External Source.

    3. In the Contents Editor, if multiple SFXs are present, select the one to use in the Use column. For this and other properties, see “Contents Editor:External Source”一节.

  2. Create a play Event with the sound object as its Target.

  3. Add the Event to a SoundBank, unless Enable Auto-Defined SoundBanks is enabled in the “SoundBanks 选项卡”一节.

  4. Add the target sound files to the External Sources List file. This is an XML file containing paths to your input files and their conversion settings. WAV files must be converted to WEM to be used by the sound engine at runtime. The conversion can be done either when the banks are generated, or by the audio programmer from the Wwise command line.

  5. In Project Settings, set the location of the External Sources List file, and the directory for the converted output files. 请参阅 “Specifying project settings for External Sources”一节。To override these project settings for your user, go to the “SoundBanks Settings - External Sources 选项卡”一节 and enable Override Project SoundBank Settings.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅