@finlazarus
I have no Idea about MIDI-Programming - I only found some Code in my CodeArchive, that might be helpful for You:
i was unable to find pascal headers for libportmidi
-> see attached 'PortMidi.7z' (= downloaded from 'Breakout Box' some Years ago)
'TMidiInput' and 'TMidiOutput':
-> see attached 'midi.7z' (= downloaded from 'Breakout Box' some Years ago)
At the moment I'm interest in generating random kind of midi music
So this should be the most interesting for You: 'Ramugen v2' (=
Random Music Generator) by
Greg Fox.
-> see attached 'Ramugen.7z'
(I had to strip all compiled EXE-Files, because of the Limitation of the Attachment to max. 250KB).
Just keep on going - Creating something on Your own is always Fun.