Simple C++ class for processing midi, based on rtmidi