How can I restart midi port after my device disconnects mid-patch?
On computer I just reset the midi dialog with message to pd (a bunch of numbers).
I know on bela it is [hw 1 0 0], but doing this midpatch does not reconnect the device and I get this error:
ALSA lib rawmidi_hw.c:233snd_rawmidi_hw_open) open /dev/snd/midiC1D0 failed: Device or resource busyFailed call to __wrap_bindError while creating pipe bela-midiOut_hw:1,0,0: Operation not permittedFailed to open MIDI device hw:1,0,0
I am not sure I can trust bela for my live perfomance this way..