Thanks for the reply Walter.
I’ve already imported the MIDI file using Omino MIDI script (would this be the right way of parsing the data?).
I’m new to After Effects so may need a bit more detail on what you’ve explained if you don’t mind. Sorry! ????