Navigation
API > API/Plugins > API/Plugins/Harmonix > API/Plugins/Harmonix/FHarmonixModule
Description
User Experience Offset Ms is the number of milliseconds between the "smoothed music render time" and the time the player experiences hearing the rendered audio, makes an input, and we detect it in the game code. This is time spent buffering audio, marshaling it to the operating system, operating system buffering, DAC, home theater, TV's audio system, transmission through the air, controller detecting input, sending that input back to the console, console OS sending it to game code, etc. This should be a positive number, otherwise the player is somehow hearing the audio BEFORE it is even rendered. So the player is experiencing... ExperiencedAudioTime = SmoothedMusicRenderMs - User Experience Offset. (See more detail below)
| Name | SetMeasuredUserExperienceAndReactionToAudioRenderOffsetMs |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Harmonix/Source/Harmonix/Public/Harmonix.h |
| Include Path | #include "Harmonix.h" |
static void SetMeasuredUserExperienceAndReactionToAudioRenderOffsetMs
(
float Milliseconds
)