-
-
Notifications
You must be signed in to change notification settings - Fork 28
Description
Operating system and application version
- OS: Fedora
- Version 3.29.1
Describe the bug
I have two machines running the same modV and Fedora version. When I create a preset with MIDI connections on one machine those MIDI connections do not work on the other machine despite the same MIDI controller being connected.
EDIT: I also have the problem, that MIDI connections do not work on the same machine. They seem to change IDs from time to time. This really sucks as you have to edit the preset manually and copy-paste the new IDs...
Looking at the code I guess storing the "unique" port ID that comes from the browser / system does not make much sense. Plugging it into a different port might result in a different ID. I personally can live with one device (type/name) per system.
If you want to support multiple device of the same type, assign increasing numbers to the MIDI devices found. The first enumerated device gets "ID" 1, the next 2 and so on. Now assign MIDI connections based on that "ID". That should work with multiple devices and on multiple machines.
To Reproduce
Steps to reproduce the behavior:
- Create preset on one machine
- Make MIDI connections
- Copy preset to other machine
- MIDI connections do not work on second machine
Expected behavior
MIDI connections work across machines and work when plugging the same MIDI device into a different USB port.
Preset: 2023-05.zip