music logic