https://bugs.winehq.org/show_bug.cgi?id=55688
--- Comment #2 from François Gouget fgouget@codeweavers.com --- On my Debian machine default-GM.sf2 is provided by timgm6mb-soundfont. I'm kind of amazed that it got installed at all. As far as I can tell it's a dependency of a dependency of some GStreamer plugins.
Anyway. On macOS it seems like .sf2 files should be in Library/Audio/Sounds/Banks. The per-user copy (in ~/Library/Audio/Sounds/Banks) would certainly be empty on a cloud machine. And the system-wide copy (in /Library/Audio/Sounds/Banks) turned up empty on two machines I checked.
Furthermore a find / -name "*.sf2" turned up empty on Monterey (21.6.0) and Mojave (18.7.0). So to get sf2 files we will need to install them ourselves. But I did not see any Homebrew package that would be an obvious match.
Hopefully someone knows more about how Midi support works on macOS.
Is there a way to detect whether Midi is supported and to skip if not?