Hi Dennis,This is a massively difficult and long task, fun of musical complexity. Are you aware of lilypond, the open source engraving program? It can export to MIDI and has been developed for over twenty years by hundreds of people. It is not written in Haskell, but C++ and Scheme principally.Not meaning to disparage your work in any way, but it does seem you are reinventing the wheel, and a rather big and complicated wheel. I am sure it is an interesting exercise, and perhaps Sibelius does not play MIDI – I use lilypond so I do not know.Help you don’t mind me letting you know.