I just wrote and debugged a VST synth with Juce on a Windows platform, cross-compiled it on Ubuntu using the Elk Juce fork, transferred it to a Pi 4 and ran it successfully under Sushi. Other than struggling a little with the config json file, it was all rather straightforward. Thank you. Nice job.
My question here is about connecting a USB MIDI keyboard to Sushi. The current documented method involves polling the device numbers using aconnect and making the connection after Sushi is already running.
For a headless embedded platform, where there is no user input, is there any way that Sushi can support dynamic handling of MIDI input devices? For example, if the system turns on and automatically loads Sushi with no USB keyboard plugged in, is there a way to enable MIDI input when one is plugged in? Or, failing that, if the system is turned on with a USB keyboard plugged in, does it typically always have the same connection ID?