Added GPL notice to midi.c