MP3 to text file

I uploaded an audio file and I named it audio.mp3 but then I experimented and turned it into audio.txt and it was code, not plain text.

That would be expected, audio files are binary data, and trying to open them in any text editor will not return you plain text.