Implement set tempo event.