Hello, all -

I'm experiencing a couple of things: I have a Novation Launch Control midi controller (dials, sends controller data, mostly (e.g. 0xBn..where n is the0-based midi chn #)) ... I'm having issues periodically using it with belacsound.

One of two things happen:
1. The USB connection frequently seems to re-initialize the Launch Control. It manifests as the startup sequence on the pads on the controller go through their light-up sequence. Indeed, the fit between my USB cable to the Launch Control isn't so snug, so, if I jiggle the connection between the cord and the BelaMini, I can cause the lights to initialize. This manifests as sometimes Csound loses the linux kernal port handle to the MIDI port, and so the port "ceases" to exist for a time. Even if I don't jiggle the connection, it happens spontaneously. In other words, the physical connection of the MIDI USB port is quite fragile.
2. Whether or not the USB port connection appears to re-init, running a MIDI-based Csound instrument that uses the Launch Control (e..g using the ctrl7 opcode), it will end up seemingly stopping the reception of current data...like, it gets stuck on certain values. The csound DSP main process loop goes on its merry way, and sound still happens, but I'm no longer able to update my control parameters.

Any thoughts on this? Anyone else experience similar?

one possible cause would be that the novation does not get enough power from the bela. either power it via a powered hub, or feed the bela mini power via a wall wart. for the wall wart solution you will have to solder some stuff in order to make it work while plugged into your computer.

if you can,try the powered hub solution first and see if it does the trick.

Interesting... would this theory explain why the slight physical nudge to the USB cord causes a reset of the Launch Control?

I am driving the bela from the USB of the RaspberryPi 3B, and the Bela is in turn feeding the Launch Control. Maybe the overall voltage/wattage is insufficient for optimal performance?

    akjmicro I am driving the bela from the USB of the RaspberryPi 3B, and the Bela is in turn feeding the Launch Control.

    That's really asking for trouble from the power management IC ... do get an externally powered hub and try that.

    akjmicro why the slight physical nudge to the USB cord causes a reset of the Launch Control?

    not sure what you mean by that exactly, but you should try a different USB cable.