Run event at the end of BGM or Half way to the end?

I want to make some cut scene character play piano.

When he finished his song BGM stop. And people start to clap there hand

I mean BGM in Rpg maker alway infinite loop.

And even I try to run event to stop the music by use "Wait" Command it only wait for 999 frame that about 16 seconds.

Then how to make it wait for 20 second or 1 minute or something like that.
Keep adding waits until it adds to a minute.
This particular forum is for discussing mechanics design in general, as they might apply to several games. It is not a " how to " forum.

I am moving this to XP Support, as that is the engine you say is the oneyou use.

Original thread: https://forums.rpgmakerweb.com/threads/run-event-at-the-end-of-bgm-or-half-way-to-the-end.53636/