store MIDI events as uint32_t instead of simple int