For a few hours now, in all roblox piano games, the sound and input is very laggy/delayed. This applies to music played by other people as well. Nothing else lags, the ping is normal (~60ms), I can play with the highest graphics settings without any problems. My GPU/CPU/etc. usage is also normal, even when playing piano. I asked other people in these games about it, a couple of them said they’re lagging too.
Here’s a little preview of what the pianos in roblox sound like (I use MIRP to convert MIDI keyboard input to QWERTY):
And what it should sound like:
The song used here is Chopin’s Waltz in A Minor. Keep in mind that this is the same score, played by the same person (me), through the same program, with the same tempo. The only difference is that the first recording is from this game on roblox, and the second is from the virtualpiano.net website. In both cases the input goes through MIRP. I don’t think you have to be a pianist to notice that it sounds off.
Was there some crappy engine update that messed up the audio system or something?
BUMP! I think most outdated piano games experience this issue. It suddenly happened and may have been caused by a Roblox engine update. If anyone has found a solution for this, please message me, I’ll gladly pay
As a developer of one of these piano games I have taken a quick look at this issue.
There seems to be some engine change that is causing less audio to be loaded into RAM at once.
For example say 100 sounds are loaded, the first 20 you load are getting unloaded (But are still cached on disc so don’t need to be loaded from Roblox servers again)
This is causing the some audios to be delayed, for some people negligibly, but others more.
Even a little delay in this case causes two audios triggered at the same time to play at different times.
This has always been a problem, though the amount of audio the engine allows loaded in memory seems to be lower than when I last investigated this.
This may be related to this problem or may be a coincidence.
Both Piano Rooms and Visual Pianos do some stuff behind the scenes to mitigate this problem, which may be why some users are reporting this issue not occurring in these games, but occurring in others, I have however had some users in the past few days reporting this new issue in Piano Rooms. (Worth noting the game has had no changes to do with sound in the last couple of months).
While I understand detailed changelogs are not something Roblox want to make public- it would make understanding this type of issue far easier.
Hey @Katsumi_PL – we’re looking into this now – off the top of my head, not aware of any suspicious audio engine changes, but it’s always possible that something had unintended side effects. When was the first you encountered this (was it Thursday?) – and does this happen on all platforms, or are some laggier than others?
This would explain why the issue was reported in some games not others.
Some games use an individual asset for each audio- and others put multiple into one file like a sprite sheet. The issue with the latter is the engine takes a little longer to load a 5 second audio over the first five seconds of a 2 minute audio (even if both are preloaded), hence having separate audio files of the same size for each asset results in a more smooth result.