musicplayer: only play the frames in the specified range