Skip to content

Commit d9d0867

Browse files
committed
feat: Playback limits
1 parent 8eea18e commit d9d0867

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed
Loading
Loading
Loading

modules/ROOT/pages/Development/Satisfactory/Audio.adoc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,42 @@ You can now update the RTPC Game Parameter value using blueprints:
311311

312312
image:Satisfactory/Wwise/Wwise_UE_RTPC_Usage.png[Wwise_UE_RTPC_Usage, 700]
313313

314+
=== Playback Limits
315+
316+
Wwise has a limit on the amount of audio that can be played at once.
317+
Trying to play more than this limit will result in lower priority sounds like footsteps, music or animal sounds will not play.
318+
319+
To resolve this you will need to setup playback limits for each of your audio files. This can be done in the audios advanced settings tab.
320+
321+
image:Satisfactory/Wwise/Wwise_PlaybackLimit.png[Wwise_PlaybackLimit, 700]
322+
323+
You will need to set the `Limit sound instance to` amount, this is amount of instances that can play this audio on the AK Component in Unreal.
324+
Also set the dropdown next to this limit to `Per Game Object` this means per `AK Component` in unreal.
325+
326+
Next you will need to change the `When limit is reached` to `Kill voice` and also set the drop down under that to `Discard oldest instances`.
327+
This means when the limit is reached for this audio it will kill any oldest instances and discard them.
328+
329+
Finally you will need to setup playback priority. The playback priority requires that you have setup Attenuation.
330+
331+
Set the priority of your audio to something like `10`, then set the `Offset priority by` setting to `-10`.
332+
333+
This setting will set the audio priority to 10, then when you are outside the attenuation distance will set the priority to 0 allowing for more important audio like the game sounds to be played.
334+
335+
Even with Attenuation and playback limits setup the audio will still play and count towards the Wwise Playback Limit.
336+
337+
* Attenuation will only lower the volume of the audio and not stop the audio.
338+
* Playback limits are only limiting the number of audio instances playing on a game object.
339+
340+
So to prevent audio from playing when you are outside of the attenuation range you will need to make use of the Significance Manager.
341+
342+
For playing background buildings sounds use the `Gained Significance` and `Lost Significance` events:
343+
344+
image:Satisfactory/Wwise/Wwise_Significance.png[Wwise_Significance, 700]
345+
346+
For fire and forget ak events use the `Get Is Significant` function before posting the event:
347+
348+
image:Satisfactory/Wwise/Wwise_IsSignificant.png[Wwise_IsSignificant, 700]
349+
314350
== Wwise and Source Control
315351

316352
[NOTE]

0 commit comments

Comments
 (0)