버전
menu_open

Method 1: The “All-in-one” Bank

This method will apply if:

  • The game has a limited amount of audio and/or motion assets.

  • The game has plenty of free memory.

Of course, most games generally don't have memory to waste, but this technique has the major advantage of being very simple to use and to maintain. The main reason for using this technique is to have the entire Wwise project integrated in the game in a minimum amount of time.

To create the “All-in-one” bank in Wwise:

  1. Create one SoundBank, and name it appropriately.

  2. Load the bank into the SoundBank Editor and then drag the following items to the “Add” tab:

    The “\Actor-Mixer Hierarchy\Default Work Unit”

    The “\Events\Default Work Unit”

    The “\Interactive Music Hierarchy\Default Work Unit” (Only required if using interactive music)

    The “\Dynamic Dialogue\Default Work Unit” (Only required if using dynamic dialogue)

    The check boxes under the Events, Structures, and Media columns are all selected by default. This is good because, for this method, we want everything to be included in the bank.

    [Note] Note

    In a new project, only the default work unit is available. If more work units are created, these work units should also be added to the banks as required.

  3. After all the work units have been added to the SoundBank, you can generate it and then copy the generated bank folder to the game application.

To integrate the “All-in-one” bank in game:

  1. Since there is only one SoundBank for this game, you can simply load it when initializing the game. Of course, the sound engine must be correctly initialized first.

    The following sample of code gives you an idea how the “All-in-one” bank can be loaded in game:

Additional Notes on this Method

The following table lists the pros and cons of the “All-in-one” bank method.

Pros

Cons

Easiest way to maintain the content of the banks from the sound designer point of view.

No need to recompile the game when changing the content of the banks since the game always loads the same bank.

No complex in-game loading and unloading of banks.

No need to track in-game which sounds are available or not.

Inefficient usage of memory because all events, structures, and in-memory media for the entire game are loaded at all times.

Even though this method is a good way to quickly and easily integrate the audio and motion in your game, don't wait until the end of the project to switch to a method that makes better usage of your game's memory.


이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요