menu
Wwise
arrow_drop_down
Strata
arrow_drop_down
Solutions
arrow_drop_down
Apprendre
arrow_drop_down
Communauté
arrow_drop_down
Documentation
arrow_drop_down
Aide
arrow_drop_down
2024.1.4.8780
2023.1.12.8706
2022.1.19.8584
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
Wwise Unreal Integration Documentation
|
By default, the Wwise Unreal integration now automatically synchronizes the Unreal assets in the Content Browser with the Wwise project. These assets are created in the "Wwise Sound Data folder", configurable in the Integration Settings.
info |
Note: Note that creating an empty Virtual Folder will not be reflected in the Unreal Content Browser until it is populated with assets. Similarly, deleting a Virtual Folder in Wwise will delete all Unreal assets, but not the folders themselves. |
If using WAAPI, Unreal assets are created whenever a corresponding object is created in Wwise. Likewise, renaming, deleting, re-parenting or moving a Wwise object is immediately reflected in the Unreal Content Browser. When WAAPI is disabled, this synchronization occurs when the Wwise project is saved.
When WAAPI is enabled, it is also possible to control the Wwise project from the Unreal content browser. For example, creating a new AkAudioEvent in the proper folder in the Unreal Content Browser automatically creates the corresponding object in the Wwise project. Note that Wwise-related assets can only be created in the Wwise Sound Data folder, and only in the sub-folder representing the correct object type. Moving, deleting, and renaming an Unreal asset is also immediately reflected in the Wwise project.
If you wish to opt out of automatic asset synchronization, it is possible to disable it in the Integration Settings.
Force Asset Synchronization is found under the Build menu in the level editor window.
This feature will parse the Work Unit files found in the Wwise Project directory on the disk and add the new Wwise items as assets in Unreal. Unsaved changes in the Wwise Authoring application will not be reflected by using this feature.
When the editor has finished scanning all the assets for the Asset Registry, the Integration scans the Work Unit files in the Wwise project to create, rename, move or delete the corresponding Wwise assets. At the same time, a local cache of all Wwise Assets is populated, ensuring that querying the Event, AuxBus and SoundBank is timely, when generating sound data import definition files or WAAPI command arguments.
info |
Note: If the scanning process fails to parse a Work Unit, asset deletion will be skipped until all Work Units have been fixed. |
A directory watcher is used to watch over the Wwise project. The work units are parsed when the project is saved.
Every change made in the Wwise project, (creating, deleting, renaming and moving) is reflected in real-time in the Unreal Content Browser. The WAAPI callbacks ak.wwise.core.object.nameChanged, ak.wwise.core.object.preDeleted and ak.wwise:.core.object.childAdded are used to properly reflect the changes of the Wwise project into Unreal.
Synchronization from Unreal to the Wwise project is also supported when connected to WAAPI. It supports all operations, (creating, deleting, renaming and moving). The Unreal AssetRegistry callbacks OnAssetRemoved and OnAssetRenamed are used to monitor the asset changed, and WAAPI is used to modify the Wwise project.
When asset auto-synchronization is turned off, Events, Auxiliary Busses, Acoustic Texture, State, Switch, Game Parameter (RTPC) and Trigger can be dragged directly from the Wwise Picker or the WAAPI Picker into the Unreal Content Browser to create corresponding AkAudioEvent, AkAuxBus, UAkAcousticTexture, UAkStateValue, UAkSwitchValue, UAkRtpc, UAkTrigger objects:
The Wwise Unreal integration makes extensive use of the Wwise Authoring API in the WAAPI-enabled Wwise Picker.
info |
Note: If you do not wish to enable WAAPI on your machine, the old Wwise Picker will still be available. If a WAAPI connection is unavailable, the WAAPI picker will be disabled. If a WAAPI connection is available, the old Wwise Picker will be disabled. |
Please refer to Wwise Authoring API (WAAPI) for instructions on how to enable WAAPI on your machine.
The WAAPI picker is populated in real-time from the running Wwise Authoring application. All changes made in Wwise are immediately reflected in the WAAPI picker, whether the Wwise project is saved or not.
The WAAPI Picker enables much more than the Wwise Picker. Here is an overview of all of its features.
The WAAPI picker allows one to preview sounds directly from Wwise, without having to generate SoundBanks. To do so, select an Event or an Actor-Mixer from your project, and press the space bar. Alternatively, you can right-click on an Event or Actor-Mixer and select Play/Stop. To stop a playing sound, press space bar again, or right-click and select Stop All.
You may rename elements directly in your Wwise project. To do so, select the element you wish to rename in the WAAPI picker window, and press F2. Alternatively, you may right-click on the element and select Rename. You may then rename the object and press Enter to commit the changes. The name change will then immediately be reflected in the Wwise Authoring application.
You may delete elements directly in your Wwise project. To do so, select the element you wish to rename in the WAAPI picker window, and press Delete on your keyboard. Alternatively, you may right-click on the element, and select "Delete". The deletion will then immediately be reflected in the Wwise Authoring application.
You may locate the associated WorkUnit to an object in a file explorer using the WAAPI picker by right-clicking the element, and selecting "Show in Folder".
You may focus a Wwise object directly in Wwise. To do so, select the element you wish to focus in Wwise, and press Ctrl+Shift+1on your keyboard. Alternatively, you may right-click on the element, and select "Find in the Project Explorer". The element will then be focused in the currently running Wwise Authoring application.
With WAAPI enabled and the Wwise Authoring Application running, the radius of the relevant assets are drawn when an AkAmbientSound is selected. If changes are made in Wwise Authoring, the radius is updated in real time:
If the Wwise Authoring Application is not running on your machine, it is still possible to see the attenuation sphere in Unreal. In your Wwise project settings, under the SoundBanks tab, make sure to select Generate Per Bank Metadata File, Generate JSON Metadata, and Max Attenuation. The next time the SoundBanks are generated in the Unreal Editor, the Max Attenuation information will be added to all UAkAudioEvents
, and the attenuation spheres will be visible in your level viewport.
Starting with Wwise 2017.2.0, one listener is now activated when in edit mode. This allows, for instance, to properly preview Level Sequences containing positioned audio. This listener's position is determined by the camera position of the focused viewport. Clicking between multiple viewports will make the editor listener "jump" from one position to another.
This listener is also used in the Animation Editor viewport. This allows all 3D-spatialized sounds to properly be previewed while working on animations.
Note that when starting a Play in Editor (PIE) session, this listener is deactivated, and the traditional listener on the Camera is enabled. When ejecting from a PIE session to start a Simulatie in Editor (SIE) session, both the Editor listener and the Camera listener are active at the same time. Switching back to PIE mode will disable the Editor listener again.
Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !
Visitez notre page d'AideEnregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !
Partir du bon pied avec Wwise