microsoft / MIDI

Windows MIDI Services
MIT License
308 stars 25 forks source link

[TODO] Ensure MIDI 1.0 APIs (WinMM / WinRT) have WinMM-compatible or better naming for devices/ports under new enumeration code. #114

Open Psychlist1972 opened 1 year ago

Psychlist1972 commented 1 year ago

Many existing editors and configuration apps rely on an exact port name as they appear in WinMM MIDI. We will need to ensure our new names for MIDI 1.0 devices through the MIDI 1.0 APIs are consistent with the older WinMM names, and use those same names in the older WinRT MIDI API. In addition, we may consider not allowing renaming of MIDI 1.0 device names as they appear in MIDI 1.0 ports (always enumerate with the manufacturer-supplied names in WinMM). Note that this is only for USB MIDI 1.0 byte stream devices.

Psychlist1972 commented 5 months ago

For MIDI 1.0 devices, this is currently how the naming works.

If there's an iJack value provided, we use that and the filter name

If there's no iJack value provided, we use the filter name . We may add a differentiator number to that.

The user-provided name always overrides this naming approach, although we do make all names available.