Windows MIDI interface

Not very good answer from our beloved friend :slight_smile: Translating some of the calls from the mido docs, Janus interface would use

pip install mido

Now in SWI-Prolog:

?- py_call(mido:'Message'('note_on', note=60), Msg).
Msg = <py_Message>(000001e5564c16d0).
?- py_call($Msg:bytes(), Bytes).
Bytes = [144, 60, 64],
Msg = <py_Message>(000001e5564c16d0).

Somehow the copy example does not work.