I am trying to use incoming MIDI data on my Raspberry Pi 3's USB port to virtually trigger an input GPIO pin. The reason for this is as follows:
I'm using the MIDI out port on a Behringer X-32 audio mixer to send midi data to the Pi running Windows 10 IoT Core. This is because the Pi is running a notification / HUD program for radio studio. The program can trigger display changes based on GPIO pin states, but is not built for our mixer which only has MIDI. To bridge the gap between MIDI and GPIO, my current idea is to write a program for UWP that will decode the incoming midi data and virtually trigger a GPIO input pin which the program can sense. Does anyone know if this is possible?
If not, would I be better off doing: a. writing the UWP program to actually trigger an output pin which I just jump back over to an input pin the HUD program can sense? or b. Decoding the MIDI data and turning it into GPIO data via an Arduino before even getting to the Pi?