convert txt to mp3 directly in my Mac

Good morning, sir,

How do I export a Textedit text to mp3 using the voice of the Mac player?

Thanks

Daniel

From France ...

iMac 21.5", macOS 10.13

Posted on Apr 16, 2020 12:26 AM

Reply
5 replies

Apr 17, 2020 8:39 AM in response to elearningfacile

Outside of iTunes, Apple does not bundle an .mp3 converter with macOS, so there is no means to achieve .mp3 conversion of any of the audio output formats from the Terminal's say command, or Automator's Text to audio file action. One would have to install a third-party tool capable of converting .m4a audio files to .mp3 if still required.


For instance, here is an Automator Service that when you select text, and run this service, it passes the selected text into the first action, where it is saved into the designated file and location. That file is encoded as an .m4a MPEG file, and acquires a sequential extension (Text2VoiceFile001.m4a, etc.) as more of these are generated. One then can play, pause, resume the audio file from the Finder.


Apr 17, 2020 6:05 AM in response to BDAqua

Thank you for your very detailed answer.

It's a pity that you can't directly export a text in txt format to an audio file in mp3 format by choosing the male or female voice you want.

Because the use of the terminal is rather reserved to computer specialists and not to classic users.

The procedure seems quite complicated to follow, but I will nevertheless try to experiment with it.

Thanks again!

Daniel

Confined!!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

convert txt to mp3 directly in my Mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.