Whenever I start a new audio for the first time, there's a large lag spike. My entire screen freezes for a few seconds.
I tried preloading the sounds, but it did not makes a difference.
I was wondering if there was any way to prevent this lag. I will not post my code, because it works fine, all I need to know is if this is possible, and if so how to do it.

1 comment
I'm not too sure, I think it has to do with a Audio's Length, because, I used a 15-second long Audio, and it didn't lag for very long, but when I used a 1-minute long one, it lagged for more than 5+ seconds, so, there's nothing we can really do about it sadly. :/