I am trying to do some MIDI programming using py-midi using the documentation here: https://pypi.org/project/py-midi/
The first step is to create a connection to the MIDI device: (from the docs)
>>> from midi import MidiConnector
>>> conn = MidiConnector('/dev/serial0') # path to use on RaspberryPi 3
I don't have an external MIDI device, so I'd like to use the one built into my computer. I looked in /dev and /dev/snd, but I don't see a device named MIDI or similar.
What is the name of the MIDI device on Ubuntu? (I am using Ubuntu 16.04.6 LTS)