Dear all, I would need to store real time midi data (3 Bytes) in my GEN Patcher.
Here is the example for illustration: I would play a key on a keyboard the message is then send to Max via midi in.The raw midi message which is simply 3 numbers then need to be send to the gen world and stored in a buffer.
I know how to do most of it myself, but are my questions:
How can I ensure that I can recognize the 3 midi bytes in GEN as one midi message? The problem for me is that gen is the world of signals, so I would convert the 3 midi raw bytes into 3 input gen signals using the sig object in max. Fine so far.
Now entering the GEN world these 3 signals will not reach gen at the same time. So what would I need to do? I though about waiting until all three inputs deliver data, then store the data in a buffer. Other thoughts?
The same questions will be when I will output the midi data to the max world. I would send out three signals from gen to the max world that will have the midi information in it. How can I transform then a complete midi message that can be send out in realtime via midi out?
I need to have this as I programmed a real time gen looper where I want not also perform midi recordings.
Thanks for your help