I wrote a program which takes MIDI input from my keyboard and displays graphics.
The program works fine until I am exporting it. After exporting the program seems to freeze after the first MIDI event is triggered. It seems like the draw loop is left, because the log entry I was creating at beginning of each draw call shows that after the first MIDI note is received the draw method is not called anymore. Even if I call “loop()” or “redraw()” it does not change this behavior.
I think that theMIDIBus is triggereing a new thread when an event is coming.
Does anything has experience witht theMIDIbus and / or multiple threads when programing with Processing? I do not know how I could possibly fix that. Thank you!