From intuition and code to score : modeling musical output