The following paragraphs provide tips and best practices that can help you better manage the Events in your project.
Before changing the name of an event, verify how the Events have been integrated into the game. If Events have been integrated using strings containing the name of the Event or IDs from the Wwise_IDs.h header file, changing the name will require additional programming to be able to use the Event.
You can use Work Units and Virtual Folders to organize the Events in your project. Dividing your Events into multiple Work Units can be very useful when several people are working in the project at the same time. For example, each team-member can create their Events in their own personal Event Work Unit. Dividing up your Events into different Work Units should not affect your productivity or workflow, but by doing so, you can avoid merge conflicts that can be both frustrating and time-consuming to fix.
You can use the SoundBank definition file to track which Events have already been integrated into your game, which ones are missing, and which ones still need to be created in Wwise. The audio programmer can generate the list of Events from the game and then you can import the definition file into Wwise. You can use the information in the log file to match up the Events in game with those created or missing from Wwise. 有关 SoundBank 定义文件的详细信息,请参阅通过导入定义文件填充 SoundBank。
事件信息存储在声音引擎的默认内存池(Default Memory Pool )中。为了避免过度占用默认内存池的空间,您可以使用 Wwise SDK 中的 ExecuteActionOnEvent 函数,以编程方式停止、暂停和恢复声音。Instead of creating Play/Stop Event pairs, you can create a single Play Event with a call to ExecuteActionOnEvent to stop the sound. If you need to pause and resume the sound, you don't need to create separate events, you can simply use the same function to execute the pause and resume Actions. This can significantly reduce the number of Events within your project and can free up some valuable space in the Default Memory pool. 为了提供额外的可控性,在以编程方式停止、暂停和恢复声音时,您还可以指定淡出时间。有关 ExecuteActionOnEvent 函数的详细信息,请参阅 Wwise SDK 文档。
For most natural sounds, pitch actually fluctuates or changes for a time until it reaches its steady State or 'sustain' level. 要创建此效果器,您可以使用音高包络。Wwise does not support pre-programmed pitch envelopes, but you can get close to that behavior by creating an Event with multiple consecutive Voice Pitch Actions. Each Set Voice Pitch Action in the Event could adjust the pitch over a period of time following one of the predefined curves in the Action properties. Of course, the last Action in the sequence would probably need to be a Reset Voice Pitch in order to get the game object to its original state.