Changed midi_info() to return a dictionary.