Special text-to-speech synthesizers exist that allows users to create an audio file (for example .mp4 file) made of computer generated speech from a text saved in a document.
These are usually pretty expensive and in most cases also need manual tweaking during the process because otherwise the audio would not b perfect. Other than that, you most likely wont find a "simple" txt to mp4 converter.