Hey everyone,
For my next project I'm planning on writing a library that generates music in real-time for games/presentation software etc. I know it involves a *lot* more than just random notes and durations.
Anyways, I'm wondering if anyone knows of any library or code sample I could use (preferrably free) in which I can output to a .MID file. I wouldn't mind if the software let me plunk down the notes, timing, channels etc. and it would output a typical .MID file. Before you say search Google, I've tried and failed to find anything relevant to suit my needs. It should be a C++ or C library.
Also, if anyone has heard of any real-time music generation software, please let me know so I can scope out the competition