A bug with MIDI note off
Captain's Log: Stardate 77604.7
Boring but important work continues. I've gone through and fixed a lot of small bugs that clearly had to be fixed before any kind of release, but which were not blocking any other work. For example, there was a problem where keyboard focus could get lost in a weird way, causing ctrl+z to pass through to the DAW -- instead of undoing your last edit in Anukari, this would undo whatever you last did in the DAW (which for me was often adding the Anukari plugin, oof).
But also I've done lots of little feature things. Now the window position and size is saved in standalone mode, as well as in plugin mode (separately for each instance). I fixed some small GUI performance regressions as well, so now the plugin GUI when used in a DAW loads instantaneously. (The standalone app takes just 2-3 seconds to load to full usability.)
Actually there was one major bug I fixed today, which is that MIDI note off events could be missed while running in plugin mode when the GUI was hidden. What happened was that in the audio thread, there's flow control for sending updates to the GUI thread (only send data when the GUI is ready to accept it), but that flow control was implemented in a stupid way that caused the simulation timestamp to stop progressing when the GUI was not reading data. This bug was there for a while -- I guess I should test in the DAW more often. 😄