Its working fine with the pitch and velocity, outputting the values stored in the coll object but im having trouble with the duration and delta section they don't seem to be passing numbers through to the makenote, so at the moment I have some nice melodies but no rhythm.
I'm kinda stumped as to why and would love to have a second (or third!) pair of eyes look at it. It works by analysing a MIDI format 0 file and outputting the note pitch, velocity, duration and delta probability values into a coll object in the form of a markov chain so if anyone would like to test it they may have to use a MIDI file of their own,
alternatively i found this website quite good for them http://www.piano-midi.de/midi_files.htm