krevis / MIDIApps

MIDI apps for Mac OS X: MIDI Monitor and SysEx Librarian.
http://www.snoize.com/
BSD 3-Clause "New" or "Revised" License
712 stars 112 forks source link

"Observe MIDI devices when they are added" should spy on destinations too #89

Closed krevis closed 3 years ago

krevis commented 3 years ago

If "Observe MIDI devices when they are added" is checked, MIDI Monitor will observe new MIDI sources. But it won't "spy" on new MIDI destinations for the same device.

Make it spy as well. This probably needs an additional checkbox in case somebody was relying on the old behavior. Default behavior should be the same for both.

krevis commented 3 years ago

This is now fixed on the main branch.

I ended up just changing the behavior, and rewording the text in the prefererences, but I didn’t add any additional controls.

Please note: it is technically impossible to 100% reliably see the very first data sent to the device by a different app. Both that app and MIDI Monitor are watching similar notifications from CoreMIDI; they are peers. There is no way to ensure that MIDI Monitor goes first, and gets to set up its spying, before the other app sends any data.