Is it possible to get real time midi events from several midi sources (sequencer/DAW, midi keyboard, midi controller) into a python script in the game engine?
My (not so deep) knowledge of blender and GE is 10 years old, and now there is a new game engine.
So I would appreciate feedback from other blender users if above is possible in the current blender / game engine and possibly some hints for the implementation.
My assumptions are:
- the (new) game engine is needed for the real time nature of this data visualization,
- a python script in GE receives midi messages from 3 midi sources and triggers in real time appropriate blender actions
- if midi input is not possible, I can make an external program (python3 + mido module + osc?) to filter and convert midi events to another type of communication channel (network port, pipe)
I am using linux, Ubuntu Studio 20.04 with alsa/jack midi audio/midi layer on an Intel i5 or i8 system, latest stable blender version installed via snap, a usb-midi keyboard and a controller for real time midi input, musescore or reaper as sequencer for real time midi ‘reference data’.
If above cannot be done in blender, I will program it using python, Qt5 and python module mido.
Thanks in advance,