I realize that I didn’t thank you for your answer. Sorry for that. Must be the XOD fever
I worked on the MIDI library and I just posted this :
I will be happy to have your feedback on this and how to improve it.
I’m also working on a more complex MIDI library in order to handle multiple MIDI IN and OUT ports and stuff like merging, splitting, morphing MIDI data.