adds midi output to Ndimensional markov program