Hi, thanks for your response.
I'd like to focus on Mac OS's MIDI Network Setup, rather than the Raspberry Pi setup. The RaspPi is running custom software I wrote (I'll give more info below if anyone is curious), so misconfiguration is not the issue. Bad code maybe, but that's for me to figure out.
The simplified question that eliminates the RaspPi from the equation is; how to get Ableton Live and the APCmini to talk in both directions through a MIDI Network Setup session. This
works:
{pad press} [ APCmini ] == USB ==> [ Ableton Live ] {sample plays}
[ Ableton Live ] == USB ==> [ APCmini ] {pad lights up}
This
works:
{pad press} [ APCmini ] == USB ==> [ MIDI Network Session ] ==> loopback ==> [ Ableton Live ] {sample plays}
This does
not work:
[ Ableton Live ] ==> loopback ==> [ MIDI Network Session ] == USB ==> {pad should light up}
I've tried playing with the live routings settings, but those don't seem to change anything. Any clue how to get bi-directional communication?
----
The RaspPi setup. The Raspberry Pi is running a custom server I wrote that controls a light up dancefloor I built. I included the pymidi Python library (
https://pypi.org/project/pymidi/) to listen on a specific port for MIDI data, and then use this data to change things on the dance floor. This
works:
{pad press} [ APCmini ] == USB ==> [ MIDI Network Session ] ==> WiFi ==> [ RaspPi ] ==> Custom Stuff {lights blink}
The pymidi library however has not yet implemented sending MIDI data, so I'm writing it myself. Via wireshark, I can see my test data coming back over the network. However nothing happens on the APCmini. To eliminate my code and my (mis)understanding of the MIDI data to send, I've replaced the RaspPi with Ableton Live, something that I know works. If I can get Ableton Live to work through the MIDI Network session, I can be sure any problems I find are with my code, not Mac MIDI configuration.