Binary package “python3-mido” in ubuntu jammy

Python 3 module for working with MIDI messages and ports

 Python 3 module for working with convenient messages objects, it has full
 support for the 18 messages defined by the MIDI standard.
 Mido brings support for MIDI files (read, write, create and play) with
 complete access to every message in the file, including all common meta
 messages. Implements MIDI over TCP/IP with socket ports, allowing wireless MIDI
 between two computers. Also includes programs for playing MIDI files, listing
 ports and serving and forwarding ports over a network.