Hi,
because you trigger the music() function every TIC() and music starts playing every frame from the beginning.
Please add something like
music_started=false function TIC() if not music_started then music(0) music_started=true end end
ok, thanks