I am doing research on this topic. The matrix you are looking for is highly dependent on what kind of music you want to create.
One of the people I work with wrote this article, which is the method used to do this. It is based on using a point of view for viewing music, and then basically creating a transition matrix for all these points of view: http://www.ehu.es/cs-ikerbasque/conklin/papers/jnmr95.pdf
You can contact me if you need more specific information or cooperation.
source
share