I've found that in life, and certainly in music, it's all just a series of occurrences in which you are constantly assessing the potential outcome of your decisions based on past precedence. As an aside, this is apparently the defining factor in science that separates artificial intelligence from human consciousness. One thing that our brains are really good at is taking a bunch of answers and extrapolating the question, whereas in computing, you input a question and it will provide an answer.