Play lots of midi files in openFrameworks, if you must.
You need to install timidity. See the scripts/ directory for ideas how.
Tested on Linux and OSX.
The midi files in the example/bin/data folder are selected randomly from the Lakh MIDI Dataset.