All settings related to the Wwise Integration can be found in the Unreal Project Settings (Edit > Project Settings), under the Wwise section. You can copy and paste data from one platform setting structure to another, even if the structures are not identical. Unreal copies matching data and ignores the rest.
Platform Initialization Settings
This section includes initialization settings for all of the supported Wwise platforms that are available in your Unreal Engine installation. Modifications to settings in editor will only be taken into account after restarting the editor; however, using the "Standalone" play mode will initialize a new instance of the SoundEngine with the current settings.
Common Settings
- Sample Rate
Sampling rate in Hz. The default value is 48000. Use 24000 for low quality audio. Any positive, reasonable sample rate is supported. However, very low sample rates might cause the sound engine to malfunction.
- Maximum Number of Memory Pools
Maximum number of memory pools. A memory pool is required for each loaded bank.
- Maximum Number of Positioning Paths
Maximum number of automation paths for sound positioning.
- Command Queue Size
Size of the Command Queue.
- Samples Per Frame
Number of samples per audio frame (256, 512, 1024, 2048).
- Streaming Look Ahead Ratio
Multiplication factor for all streaming look-ahead heuristic values.
- Number Of Refills in Voice
Number of refill buffers in voice buffer. Set to 2 for double-buffered. The default value to 4.
Main Output Settings
- Audio Device ShareSet
The name of a custom audio device to use. Custom audio devices are defined in the Audio Device ShareSet section of a Wwise project. Leave this empty to output normally through the default audio device.
- Device ID
Device-specific identifier when you are using multiple devices of the same type. Leave the setting at 0 (default) if you are using only one device.
- Panning Rule
Rule for 3D panning of signals routed to a stereo bus. In "Speakers" mode, the angle of the front loudspeakers is used. In "Headphones" mode, the speaker angles are superseded by constant power panning between two virtual microphones spaced 180 degrees apart.
- Channel Config Type
A code that completes the identification of channels by uChannelMask. Anonymous: Channel mask == 0 and channels. Standard: Channels must be identified with standard defines in AkSpeakerConfigs
. Ambisonic: Channel mask == 0 and channels follow standard ambisonic order.
- Channel Mask
A bit field, whose channel identifiers depend on AkChannelConfigType
(up to 20).
- Number of Channels
The number of channels, identified (deduced from channel mask) or anonymous (set directly).
Spatial Audio Settings
- Max Sound Propagation Depth
Maximum number of portals that sound can propagate through.
- Movement Threshold
Amount that an emitter or listener has to move to trigger a recalculation of reflections and diffraction. Larger values can reduce the CPU load at the cost of reduced accuracy.
- Number Of Primary Rays
The number of primary rays (cast from each listener) used in stochastic ray casting.
- Reflection Order
Maximum reflection order between 1 and 4.
- Diffraction Order
Maximum diffraction order: the number of "bends" in a diffraction path. A high diffraction order accommodates more complex geometry at the expense of higher CPU usage. Diffraction must be enabled on the geometry to find diffraction paths. Set to 0 to disable diffraction on all geometry. This parameter limits the recursion depth of diffraction rays cast from the listener to scan the environment, and also the depth of the diffraction search to find paths between emitter and listener. To optimize CPU usage, set it to the maximum number of edges you expect the obstructing geometry to traverse.
- Max Emitter Room Aux Sends
The maximum number of game-defined auxiliary sends that can originate from a single emitter. An emitter can send to its own Room and to all adjacent Rooms if the emitter and listener are in the same Room. If a limit is set, the most prominent sends are kept, based on spread to the adjacent portal from the emitter's perspective. Set to 1 to only allow emitters to send directly to their current Room, and to the Room a listener is transitioning to if inside a portal. Set to 0 to disable the limit. The default value is 3.
- Diffraction on Reflections Order
Maximum possible number of diffraction points at each end of a reflection path. Diffraction on reflection allows reflections to fade in and out smoothly as the listener or emitter moves in and out of the reflection's shadow zone. When greater than zero, diffraction rays are sent from the listener to search for reflections around one or more corners from the listener. Diffraction must be enabled on the geometry to find diffracted reflections. Set to 0 to disable diffraction on reflections.
- Maximum Path Length
Maximum length of a reflection/diffraction path.
- CPU Limit Percentage
Controls the maximum percentage of an audio frame the raytracing engine can use. The ray tracing engine dynamically adapts the number of primary rays to target the specified computation time value. However, the computed number of primary rays can never exceed the value specified in Number of Primary Rays. A value of 0 indicates that there is no limit on the amount of CPU used for raytracing, and the number of primary rays is fixed and determined by Number of Primary Rays.
- Load Balancing Spread
The computation of spatial audio paths is spread over LoadBalancingSpread frames. Spreading the path computation over several frames can prevent CPU peaks. The spread introduces a delay in the path computation.
- Enable Geometric Diffraction and Transmission
Enables the computation of geometric diffraction and transmission paths for all sources that have the Enable Diffraction and Transmission box selected in the Positioning tab of the Wwise Property Editor. This flag enables sound paths around (diffraction) and through (transmission) geometry. Set Enable Geometric Diffraction and Transmission to false to ensure that geometry is only used to calculate reflection. Diffraction edges must be enabled on geometry for diffraction calculation. If Enable Geometric Diffraction and Transmission is false but a sound has "Enable Diffraction and Transmission" selected in the positioning tab of Wwise Authoring, the sound only diffracts through portals but passes through geometry as if it were not there. Disable this setting if the game performs its own obstruction calculation, but geometry is still passed to spatial audio for reflection calculation.
- Calc Emitter Virtual Position
When set to true, Wwise Spatial Audio calculates the apparent or virtual position of emitters that diffract through portals or around geometry, and then sends the position to the sound engine.
Communication Settings
- Initialize System Comms
Indicates whether or not to initialize the communication system. Some consoles have critical requirements for the initialization of their communication systems. Set to false only if your game already uses sockets before sound engine initialization.
- Pool Size
Size of the communication pool.
- Discovery Broadcast Port
The port where the Wwise Authoring application broadcasts "Game Discovery" requests to discover games running on the network. The default value is 24024. It cannot be set to 0.
- Command Port
The "command" channel port. Set to 0 to request a dynamic/ephemeral port.
- Network Name
The name used to identify this game within the Wwise Authoring application. Leave empty to use FApp::GetProjectName()
Advanced Settings
- Use Head Mounted Display Audio Device
Enable when working on projects for head-mounted displays with audio capabilities.
- Max System Audio Objects
Maximum number of System Audio Object to reserve. Other processes will not be able to use them. The default is 128.
- Enable Multi Core Rendering
When set to true, distributes SoundEngine processing tasks across the Unreal Engine Task Graph. If you change this setting, you must restart the Editor.
- Max Num Job Workers
The maximum number of workers that the Sound Engine can request at any time. If you change this setting, you must restart the Editor.
- Job Worker Max Execution Time Usec
Maximum time allotted for Sound Engine processing tasks in microseconds. If you change this setting, you must restart the Editor.
- IO Memory Size
Size of memory pool for I/O (for automatic streams). "It is rounded down to a multiple of <tt>uGranulrity</tt> and then passed directly to <tt>AK::MemoryMgr::CreatePool()</tt>."
- IO Granularity
I/O request granularity (typical bytes/request).
- Target Auto Stream Buffer Length
Targeted automatic stream buffer length in milliseconds. When a stream reaches the buffer limit, it is only scheduled for I/O except if the scheduler is idle.
- Use Stream Cache
If true, the device attemps to reuse I/O buffers that have already been streamed from disk. This is particularly useful when streaming small looping sounds. However, there is a small increase in CPU usage when allocating memory, and a slightly larger memory footprint in the StreamManager pool.
- Maximum Pinned Bytes in Cache
Maximum number of bytes that can be "pinned" using AK::SoundEngine::PinEventInStreamCache()
or AK::IAkStreamMgr::PinFileInCache()
.
- Enable Game Sync Preparation
Set to true to enable AK::SoundEngine::PrepareGameSync
usage.
- Continuous Playback Look Ahead
The number of quanta ahead where continuous containers instantiate a new voice before the following sounds start playing. This look-ahead time allows I/O to occur, and is especially useful to reduce the latency of continuous containers with trigger rate or sample-accurate transitions.
- Monitor Queue Pool Size
Size of the monitoring queue pool. This parameter is ignored in Release builds.
- Maximum Hardware Timeoput Ms
Time (in milliseconds) to wait for the hardware devices to trigger an audio interrupt. If there is no interrupt after that time, the sound engine reverts to silent mode and continues operating until the hardware finally responds again.
- Debug Out Of Range Check Enabled
Debug setting: Enable checks for out-of-range (and NaN) floats in the processing code. Do not enable in any normal usage because this setting uses a lot of CPU. It prints error messages in the log if invalid values are found at various points in the pipeline.
- Debug Out Of Range Limit
Debug setting: Only used when Debug Out Of Range Check Enabled is true. This defines the maximum values samples can have. Normal audio must be contained within +1/-1. Set this limit to a value higher than 1 to allow temporary or short excursions out of range. The default value is 16.
Integration Settings
Reverb
- Max Simultaneous Reverb Volumes
The maximum number of Ak Reverb Volumes that can affect a sound. Setting this to zero disables all Ak Reverb Volumes in game. Note that Ak Late Reverb Components found on an actor that also contains an Ak Room Component are not affected by this setting.
Installation
- Wwise Project Path
The location of the Wwise project for the UE game. The Wwise integration requires this path to create the Wwise assets required for the game using the Generate SoundBanks function within the Unreal Content Browser (or Build menu). This path is relative to the Unreal Project directory, as given by FPaths::ProjectDir()
in the Unreal Engine.
- Root Output Path
The location of the folder that contains the Wwise project metadata, specifically the ProjectInfo.json
file. This file contains the locations of the generated SoundBanks, which are required to play sound in the game. The path is relative to the Unreal project's content directory, as given by FPaths::ProjectContentDir()
.
![](/images/2023.1.6_8555/?source=UE4&id=Note.gif) | Note:
If you are using external sources, changes to this path must be reflected in the External Source settings in your Wwise project. |
Cooking
- Wwise Staging Directory
The directory to which .bnk and .wem files will be copied when staging files during cooking.
Obstruction Occlusion
- Default Collision Channel
The default collision channel used for audio obstruction and occlusion calculations.
Fit to Geometry
- Default Fit to Geometry Collision Channel
The default value for Collision Channel when fitting Ak Acoustic Portals and Ak Spatial Audio Volumes to surrounding geometry.
Reverb Assignment (Refer to Automatically Assigning a Reverb Aux Bus for more information)
- Default Surface Absorption
The default surface absorption value to use when estimating environment Decay value. It is used for the decay estimations of environments without Acoustic Texture information. The default value is 0.5.
- Default Reverb Aux Bus
The default Auxiliary Bus to choose for Automatic Reverb Assignment. Automatic Reverb Assignment can be enabled on Late Reverb components. When their Decay values exceed the highest Decay value in the Reverb Assignment Table, or if the table is empty or nonexistant, the default Auxiliary Bus is chosen. This Auxiliary Bus must have a reverb effect.
- Reverb Assignment Table
A table that associates Auxiliary Busses with Reverb Decay values. If Automatic Reverb Assignment is enabled on a Late Reverb component, its Decay value is compared to the table's Decay values. The chosen Auxiliary Bus is the one associated with the closest and highest Decay value in the table. If the given Decay value exceeds the highest Decay value in the table, or if the table is empty or nonexistant, the Default Reverb Aux Bus is chosen.
Rows must be of type FWwiseDecayAuxBusRow.
- Row Name A unique name for the row.
- Decay The number of seconds it takes for the sound reverberation in an environment to decay by 60 dB. Decay values are represented with floating point numbers. We recommend that consecutive Decay values differ by at least 0.01 to ensure the correct Auxiliary Bus is chosen for a given Decay value.
- Aux Bus The Auxiliary Bus in Wwise Authoring that has a reverb effect to associate with the Decay value of the same row.
- RTPCs
- HFDamping Name
(Legacy workflow) The name of the RTPC used to set the high-frequency damping produced by the environment. Overridden by the HFDamping RTPC value, if there is one.
- Decay Estimate Name
(Legacy workflow) The RTPC name used to estimate the time taken for the sound pressure level to reduce by 60dB. Overridden by the Decay Estimate RTPC value, if there is one.
- Time to First Reflection Name
(Legacy workflow) The RTPC name used to set the time taken for the first reflection to reach the listener. Overridden by the Time to First Reflection RTPC value, if there is one.
- HFDamping RTPC
The RTPC used to set the high-frequency damping produced by the environment.
- Decay Estimate RTPC
The RTPC used to estimate the time taken for the sound pressure level to reduce by 60dB.
- Time to First Reflection RTPC
The RTPC used to set the time taken from the first reflection to reach the listener.
Initialization
- Audio Input Event
Input event associated with the Wwise Audio Input. For more information, see Using the AkAudioMixer Module.
- Init Bank
The unique Init Bank for the Wwise project, which contains the basic information necessary to properly set up the Sound Engine.
- Unreal Audio Routing
Audio routing options that determine whether to use Unreal or Wwise audio exclusively, the two together, or to route Unreal audio through AkAudioMixer or AudioLink. For more information, refer to Selecting Audio Routing Options.
- Wwise Sound Engine Enabled
Indicates whether the Wwise Sound Engine is enabled, depending on the selected audio routing option.
- Wwise Audio LInk Enabled
Indicates whether the Wwise AudioLink is enabled, depending on the selected audio routing option.
- Ak Audio Mixer Enabled
Indicates whether the Wwise AkAudioMixer is enabled, depending on the selected audio routing option.
Localization
- Unreal Culture to Wwise Culture
Mapping of Unreal Culture code to Wwise Language. This enables calling Set Current Audio Culture directly with an Unreal Culture code. See Localizing Audio Assets for more information.
Asset Creation
- Default Asset Creation Path
The path in which to create assets dragged from the Wwise Browser.
Geometry Surface Properties
- Verify and Update
Verify each row of the Geometry Surface Properties Table below and remove rows with an invalid Physical Material.
- Default Acoustic Texture
The default Acoustic Texture set on a surface of a Spatial Audio Volume actor when Fit to Geometry is used and no geometry is hit. The default value is None, which indicates a completely reflective surface.
- Default Transmission Loss
The default Transmission Loss value set on a surface of a Spatial Audio Volume actor when Fit to Geometry is used and no geometry is hit. The valid range is between 0 and 1. The default value is 0, which indicates that sound can pass through the surface without any loss. A surface with 0 transmission loss is considered transparent. It disables any reflections and does not use the Acoustic Texture.
- Geometry Surface Properties Table
The table that associates Geometry Surface Properties (Acoustic Texture and Transmission Loss) with Physical Materials. This table is used to retrieve the Geometry Surface Properties according to the Static Mesh's Physical Materials when using the AkGeometryComponent or when using Fit to Geometry with the AkSpatialAudioVolume.
Rows must be of type FWwiseGeometrySurfacePropertiesRow. We recommend that you do not add or remove rows. Rows are updated when Physical Material assets are added to or removed from the project. Rows are also updated when an Acoustic Texture with a name similar to a Physical Material is added to the project.
- Row Name The asset path to a Physical Material in the current project.
- Acoustic Texture The Acoustic Texture to associate with the Physical Material of the same row. Acoustic Textures consist of a group of absorption values representing the percentage by which sound within a relative frequency range is dampened after a reflection.
- Transmission Loss The value by which to filter a sound modeling transmission through geometry.
User Settings
Installation
- Wwise Windows Installation Path
The location of Wwise Authoring on your Windows development machine. This option will need to be updated when a new version of Wwise Authoring is required by the integration changes.
- Wwise Mac Installation Path
The location of Wwise Authoring on your Mac development machine. You must update this value when integration changes require you to install a new version of Wwise Authoring.
![](/images/2023.1.6_8555/?source=UE4&id=Note.gif) | Note:
If these installation paths are not correctly set, Unreal cannot generate the Wwise SoundBanks required for the game. |
- Root Output Path User Override
The location of the folder that contains the Wwise project metadata, as determined by a user override in the Wwise User SoundBank Settings. The folder includes the ProjectInfo.json
file, which contains the paths to the generated SoundBanks.
WAAPI
- WAAPI IP Address
IP Address used to connect to the Wwise Authoring API (WAAPI).
- WAAPI Port
Port used to connect to WAAPI.
- Auto Connect to WAAPI
Enables the automatic connection of the Unreal Editor to Wwise through WAAPI.
- Auto Sync Selection
Whether to synchronize the selection between the Wwise Browser and the Wwise Project Explorer.
Error Message Translator
- XML Translator Timeout
Maximum time allotted to search for IDs (milliseconds) for the XML file reader. Set to 0 to disable.
- Waapi Translator Timeout
Maximum time allotted to search for IDs (milliseconds) through the WAAPI connection. Set to 0 to disable.
The Error Translators purpose is to transform numerical IDs in error messages into human-readable names, whenever the information is available. There are two methods available: through SoundBanksInfo.xml
and through WAAPI. If the SoundBanksInfo.xml
file is present beside the SoundBank files (it is optional), using the XML method is faster. WAAPI has the advantage of reading directly from an instance of Wwise, with the latest information. But the network communication can be very slow. Because of that it is disabled by default.
Assets Reload
- Ask for Wwise Assets Reload
Opens a notification that the user must accept before reloading Wwise Asset Data when working in the Unreal Editor.
Viewports
- Visualize Rooms and Portals
Visualize rooms and portals in the viewport. The "realtime" setting must be enabled in the viewport.
- Show Reverb Info
When enabled, information about AkReverbComponents
is displayed in viewports, above the component's UPrimitiveComponent parent. The "realtime" setting must be enabled in the viewport.
Wwise Simple External Source Manager Settings
- Media Info Table
Table of all information required to properly load all external source media in the project. All files in this table are packaged in the built project.
- External Source Default Media
Optional table that defines a default media entry in the MediaInfoTable to load when an External Source is loaded.
- External Source Staging Directory
Staging location for External Source media when cooking the project. This is the location from which to load External Source media in the built project.
Initializing the SoundEngine
The SoundEngine initialization steps are performed in the FAkSoundEngineInitialization::Initialize()
method. In this method, the memory, streaming, IO, sound engine, platform, music engine, and communication settings are configured from values set in the Wwise Initialization Settings for each platform.
For more information on SoundEngine initialization, refer to the Initialize the Different Modules of the Sound Engine section in the Wwise SDK documentation.