Use a clock to keep track of played time.