MV Loading SE before playing?

Hi, I'm currently playing sound effects (long sound effects) like this:
JavaScript:
let music = { name: "se_name", volume: 100, pitch: 100, pan: 100 };
AudioManager.playSe(se);

However, this happpens with a slight delay and I'd like to get rid of this. Is there a way in which I can load an audio file in advance before playing it?
Hi, I'm currently playing sound effects (long sound effects) like this:
JavaScript:
let music = { name: "se_name", volume: 100, pitch: 100, pan: 100 };
AudioManager.playSe(se);

However, this happpens with a slight delay and I'd like to get rid of this. Is there a way in which I can load an audio file in advance before playing it?
Might very well possibly be other plugins to do this.. but I took an small attempt at it.
No clue if it will work as you need or not but seems to work for me.

I wrote a small plugin that assigns an ID to a loaded sound.

Script Calls:
AudioManager.loadSe(id, se)
AudioManager.playPreloadedSe(id)

I use a parallel event to load it when starting the map...
Spoiler
1652833282010.png
Then to play:
Spoiler
1652833307534.png

Well let me know how it goes. Again honestly no clue if it will work as you need or not.
Works perfectly. I can now chain sounds together without pauses. Thanks a lot for the help!

Original thread: https://forums.rpgmakerweb.com/threads/loading-se-before-playing.147694/