imported midi.py module after python3 port, stripped most of the write part.
Authored by: Jean-Francois Dockes 2018-02-22
Parent(s): [e72bac]
Child(ren): [c56c1d]