With a freshly-downloaded and installed VLC (3.0.8 in my case), the following allows MIDI output to work: **environment.set('midiPath', '/Applications/VLC.app/Contents/MacOS/VLC')**