SOLVED
Some audio assets in the same event were set to streaming.
- -
Setup
-
Unreal Engine 5.8.2, FMOD Studio 2.03.14
-
Windows, Audio Output: [WASAPI]
Problem
I’ve been experiencing a delay between Unreal triggering a parameter change and actually hearing the audio. In Profiler, I can see the parameter value change, and the audio waveform for the event doesn’t appear until 192ms later. Across 9 triggers in one recording, the gap was exactly 192ms every time.
The event
-
The sound is a short 2-pop, one instrument, set to play as soon as the parameter changes via trigger condition.
-
Parameter seek speed is 0, no AHDSR attack, no leading silence in the file, no instrument trigger delay or start offset, no quantisation
-
Streaming asset is off
FMOD init settings
-
DSPBuffer Length: 0, DSPBuffer Count: 0 (so FMOD defaults)
-
Studio Update Period: 0 (default)
Questions
-
With default buffers, is ~190ms from parameter change to audio onset expected, or should I look for something in the event setup?
-
Does the Profiler stamp the waveform at the mix point or after the DSP buffer queue? In other words, does a constant offset between parameter change and visible audio include DSP buffer latency?
Thanks!
Update #1:
Delay reduces to a consistent 182ms when reducing Buffer:
[DSP Buffer Length: 512, DSP Buffer Count: 2, Studio Update Period: 10]
Update #2
A plain Play Event reaches the speakers in 16-54ms, but the same sound triggered through Parameter Change and Trigger Condition on the instrument shows a constant ~180-190ms in the Profiler.