Sure thing! So, in your music room screen, add these lines:
screen music_room(mr):
on 'replace' action Stop('music', fadeout=3.0)
on 'show' action Stop('music', fadeout=3.0)
on 'replaced' action Play('music', config.main_menu_music, fadein=3.0)
on 'hide' action Play('music', config.main_menu_music, fadein=3.0)
And that should cover most use cases! Feel free to adjust the fadein/out however you like.