playSound(snd) endSound# = timer()+soundLength# do time# = timer() if time#>endSound# playSound(snd) endSound# = time#+soundLength# endif sync() loop