"Looped" sound property introduces a gap on each loop

Reproduction Steps

This is a high precision loop I created for an SFX: rbxassetid://11444207351

Playing this audio in Adobe Audition, the loop plays normally, with no gaps.
Listen (use headphones):

When the same audio is played by Roblox (either within the studio interface or by the script - Sound:Play()), there is a gap:

Here is the visual demo of the gap introduced by Roblox:



Expected Behavior

The loop should repeat perfectly, with no gaps in the audio, as shown above.

Actual Behavior

already explained above

-----------------------------------

Workaround

With this bug, it is IMPOSSIBLE to make high precision loops for SFX.

Issue Area: Engine
Issue Type: Other
Impact: High
Frequency: Constantly

1 Like

Did you upload the soundfile as an ogg or an mp3? Mp3s always add a bit of padding to the audio so to make seamless loops you’ll need to upload an ogg.

4 Likes

You are right.
Thank you very much!

Another thing to mention - when uploading .OGGs, make sure your audio’s amplitude is zero at the very beginning and the end.

1 Like

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