midi_list: in/out
Lists all the input or output devices present on the system to the
System Log
in/out
determines which direction of MIDI device is listed.