EVENT_NAME(ME_TEMPER_KEYSIG); EVENT_NAME(ME_TEMPER_TYPE); EVENT_NAME(ME_MASTER_TEMPER_TYPE);
static char *event_name(int type){#define EVENT_NAME(X) case X: return #X	switch (type) {	EVENT_NAME(ME_NONE);	EVENT_NAME(ME_NOTEOFF);	EVENT_NAME(ME_NOTEON);	EVENT_NAME(ME_KEYPRESSURE);	EVENT_NAME(ME_PROGRAM);	EVENT_NAME(ME_CHANNEL_PRESSURE);	EVENT_NAME(ME_PITCHWHEEL);	EVENT_NAME(ME_TONE_BANK_MSB);	EVENT_NAME(ME_TONE_BANK_LSB);	EVENT_NAME(ME_MODULATION_WHEEL);	EVENT_NAME(ME_BREATH);	EVENT_NAME(ME_FOOT);	EVENT_NAME(ME_MAINVOLUME);	EVENT_NAME(ME_BALANCE);	EVENT_NAME(ME_PAN);	EVENT_NAME(ME_EXPRESSION);	EVENT_NAME(ME_SUSTAIN);	EVENT_NAME(ME_PORTAMENTO_TIME_MSB);	EVENT_NAME(ME_PORTAMENTO_TIME_LSB);	EVENT_NAME(ME_PORTAMENTO);	EVENT_NAME(ME_PORTAMENTO_CONTROL);	EVENT_NAME(ME_DATA_ENTRY_MSB);	EVENT_NAME(ME_DATA_ENTRY_LSB);	EVENT_NAME(ME_SOSTENUTO);	EVENT_NAME(ME_SOFT_PEDAL);	EVENT_NAME(ME_LEGATO_FOOTSWITCH);	EVENT_NAME(ME_HOLD2);	EVENT_NAME(ME_HARMONIC_CONTENT);	EVENT_NAME(ME_RELEASE_TIME);	EVENT_NAME(ME_ATTACK_TIME);	EVENT_NAME(ME_BRIGHTNESS);	EVENT_NAME(ME_REVERB_EFFECT);	EVENT_NAME(ME_TREMOLO_EFFECT);	EVENT_NAME(ME_CHORUS_EFFECT);	EVENT_NAME(ME_CELESTE_EFFECT);	EVENT_NAME(ME_PHASER_EFFECT);	EVENT_NAME(ME_RPN_INC);	EVENT_NAME(ME_RPN_DEC);	EVENT_NAME(ME_NRPN_LSB);	EVENT_NAME(ME_NRPN_MSB);	EVENT_NAME(ME_RPN_LSB);	EVENT_NAME(ME_RPN_MSB);	EVENT_NAME(ME_ALL_SOUNDS_OFF);	EVENT_NAME(ME_RESET_CONTROLLERS);	EVENT_NAME(ME_ALL_NOTES_OFF);	EVENT_NAME(ME_MONO);	EVENT_NAME(ME_POLY);#if 0	EVENT_NAME(ME_VOLUME_ONOFF);		/* Not supported */#endif	EVENT_NAME(ME_SCALE_TUNING);	EVENT_NAME(ME_BULK_TUNING_DUMP);	EVENT_NAME(ME_SINGLE_NOTE_TUNING);	EVENT_NAME(ME_TEMPER_KEYSIG);	EVENT_NAME(ME_TEMPER_TYPE);	EVENT_NAME(ME_MASTER_TEMPER_TYPE);	EVENT_NAME(ME_RANDOM_PAN);	EVENT_NAME(ME_SET_PATCH);	EVENT_NAME(ME_DRUMPART);	EVENT_NAME(ME_KEYSHIFT);	EVENT_NAME(ME_PATCH_OFFS);	EVENT_NAME(ME_TEMPO);	EVENT_NAME(ME_CHORUS_TEXT);	EVENT_NAME(ME_LYRIC);	EVENT_NAME(ME_GSLCD);	EVENT_NAME(ME_MARKER);	EVENT_NAME(ME_INSERT_TEXT);	EVENT_NAME(ME_TEXT);	EVENT_NAME(ME_KARAOKE_LYRIC);	EVENT_NAME(ME_MASTER_VOLUME);	EVENT_NAME(ME_RESET);	EVENT_NAME(ME_NOTE_STEP);	EVENT_NAME(ME_TIMESIG);	EVENT_NAME(ME_KEYSIG);	EVENT_NAME(ME_WRD);	EVENT_NAME(ME_SHERRY);	EVENT_NAME(ME_BARMARKER);	EVENT_NAME(ME_STEP);	EVENT_NAME(ME_LAST);	EVENT_NAME(ME_EOT);	}	return "Unknown";#undef EVENT_NAME}