Dynamic melodic expectancy