This Python 2.7 program takes in a set of Irish jigs and uses a Markov chain to generate a new one.
If the user has a musicXML player installed, the jig can be played. Otherwise, the program outputs a piece of music in abc notation.
Requires music21 (http://web.mit.edu/music21/).