Map Music picking up where it left off after a battle

Like everybody, I have map music and I have battle music.  When a battle starts, the music changes. When the battle ends, the Map music starts up again at the begininng.  Is there any way to have the map music continue from where it left off before the battle began?

Thanks for the assistance.
It doesn't start from the beginning by default. It starts where it left off before the battle. If yours plays from the beginning, you must have modified or added extra scripts that change the default behaviour.


What scripts are you using (please provide links, not just a list)?
I never touched the scripts, I wouldn't know even know where to begin to change any of it and make it work. 

I was testing it out and the default music that comes with rpg maker does not start from the begining after a battle, but the music that I imported does restarts itself.  I guess that's the reason why it is resetting back to the beginning without any script modifications.  Any suggestions on how to make any modifications to make the imported music not reset itself?

Thanks again.
What sort of file is it? According to the help file, it looks like the playback position can only be set for ogg or wav files. So if your imported audio is mp3, that's probably the reason.
Yeah, it's mp3.  At least now I know.  Thank you very much for your help 🙂
You should be able to use Audacity or something to convert it to ogg. It loops better that way, too.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/map-music-picking-up-where-it-left-off-after-a-battle.17851/