How to reset the macOS MIDI configuration

On my Mac, after experimenting with some MIDI over LAN configurations, I ended up with a messed-up MIDI setup. There were some "ghost" sessions that I couldn't remove or use.

I finally found a way to completely reset (erase) the MIDI configuration on my Mac, which solved all my problems.

Here's how to do it :

In macOS, the MIDI configuration is saved in ~/Library/Preferences/ByHost/ in a com.apple.MIDI.*.plist file.

On my Mac, the file is :

~/Library/Preferences/ByHost/com.apple.MIDI.B11BC143-147E-5BFB-9E62-B18460FF5279.plist

First, close the MIDI Setup application if it is open and then delete this file to reset the MIDI configuration :

$ rm ~/Library/Preferences/ByHost/com.apple.MIDI.*.plist

Re-open the MIDI Setup application, and you should get a blank configuration.


Screenshots of the issues I had :

I had a stuck "foo" session that I could not remove/configure or even use, even if it showed as a "valid" MIDI device.

macos-midi-issue-2.png

macos-midi-issue-3.png

macos-midi-issue-4.png

macos-midi-issue-6.png