Thanks Dmitry, thanks Geoff,
hear are the left Informations:
I want to make a program in c for the mc or an arduino. In the moment, I need 2 old mac mini and one old macbookair to make the (midi controlled) robots play. It workes quite well, but it takes much time to handle them.
To start a practice, takes half an hour. And jamming is hardly impossible. So I want to make something like a little midi loop station -(for the robots the (midi triggerd) video and the (midi controlled) DMX)-, that can export the midi at a storage that can be used from the mac minis.
Why I don't use a midi sequencer? → My Robots need a MIDI minus Delay. So the Robot has to get the signal 800ms before the Note is executed.
Thanks to Geoff for the tip with the Text. I think it is really possible to do it. I stored a .midi file with 1 Note in different positions. And after that I was looking what was changing in the txt editor. It was funny how easy it was to change notes and create new .mid files with the editor.
Thanks to Dmitry for the link to GitHub. I think it will take a while, to learn and understand this stuff.