It's an interesting idea. Currently, this fails, because the level music isn't yet scriptable.
But it's something to keep in mind for the next major version. Can you create an issue against our Github repo?
I stand corrected. Take a look at play_music here: https://github.com/SuperTux/supertux/bl ... s.hpp#L144