Better handling music loops