Python Jack Midi

Hey guys,

Not strictly ardour related but part of a plugin that im working on…

I am using the Jack Audio Connection Kit python library and need to send MIDI out messages. I have been following the examples here https://jackclient-python.readthedocs.io/en/0.4.2/examples.html

Unfortunately they do not construct MIDI messages from scratch in the MIDI Chord Generator example

Specifically how do I construct the status variable that is output to the midiport in that example.

Thanks!