Implement tap tempo functionality