I’m getting some very strange results with trying to control my Yaeltex via java code. One issue is that notes I send to the controller just seem to get ignored or dropped just before I shut down the program. In this case, I set all my grid buttons to some color, and then run initialize (which sends a note to each button with velocity=0 to shut them) and exit the program. I can see all the notes sent to the midi object, but the buttons do not turn off. occasionally, the first few buttons will be turned off.
if I run the debugger and step through the final initialize() call, then the notes go off, presumably because the program has not shut down. but if I wait with a Thread.sleep() after the initialize call, to give the controller time to respond, it doesn’t work. I should say I’ve never had an issue like this with other controllers.
what is even going on here? the only explanation I can think of is something like the midi notes being sent asynchronously and then getting killed when the program shuts down, but then the sleep() should take care of it.
Weirdly, if I send another note to the controller after the initialize (like to turn a button back on), then the whole initialize is applied, as is the additional note. it seems like some kind of buffer flush, but there’s no obvious reason why that last extra note should make a difference.
I’m running on firmware 0.13, downloaded from Yaeltex this morning.
Does the controller have some kind of debug log that could be enabled and accessed?