Playback loudness is inconsistent?

playback loudness is supposed to measure the “amplitude” of the current song measured from 0-1000 as stated in the developer documentation.

i have encountered a strange, common inconsistency that impacts the playback loudness where some clients for some reason display the playback loudness as much lower then expected.

NORMAL / EXPECTED
normal behavior video

BUGGED / UNEXPECTED
bugged behavior video

Unless im failing to understand something, I don’t see how this is possibly happening as changing the output device or volume in game or on the OS does not change the playbackloudness.

btw it is across all 3 tracks at any time position where this is identified

1 Like

Although personally that may be the issue, it could also be based on drivers/audio settings on different PCs, at least from my assumption. Have you tried having multiple people try your game and report back on what they see in the developer console?

yeah, it was a mixed bag showing cases of both expected and unexpected behavior; not just a one off thing

2 Likes

it looks like it could be using headphones compared to speakers
but this behavior defeats the entire purpose of this property :sob:

1 Like

PlaybackLoudness is not raw amplitude but a measure of perceived loudness, calculated by RMS (Root Mean Square) of the last 1024 samples of the uncompressed audio, then normalized to a range of 0-1000. Some devices/hardware may process the audio differently, before Roblox even applies its RMS/DSP computation, which might lead to variations of perceived loudness.

Perhaps you could keep track of the highest reached loudness values and scale other values relative to that to achieve more consistent normalized values, if that’s what you’re looking for.

thanks for clarifying

and yeah, thats what i ended up doing lol

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.