If you are looking for a way to convert MIDI audio (.mid) to text format (.txt), the easiest way would be to use some of the online converters that offer exactly this type of conversion. Probably used to transcript the notations or something.
Convert MIDI audio to Simple text.
We have found one software suitable in our database for this conversion.
On-line services software - convert mid to txt on web
MIDI to TXT online converter is used for Binary MIDI file to text (MF2T/T2MF format) conversion directly in a web browser.
Convert from mid file
to txt file
The table with program actions contains information about what each program is capable of doing with their files. This may be a good pointer for further searches for certain file conversions and help you find the converter you are looking for if our search result is insufficient for you. However, it is far from perfect and may sometimes show results which are not really usable because of the nature of the software handles the files. So a conversion that appears as possible, just because of matched actions, may in fact not be possible.