Posted by & filed under Linux.

This was pretty difficult to figure out… The eSpeak documentation isn’t all that good.

espeak -ven-us+f4 -s170 "6 new wireless networks found"

Use the -v option to specifiy a voice. After that you can provide the type of language, such as en or en-us. After that, add a plus, then either m or f, and a 1 – 5. The s option lets you set the speed. Unfortunately, most of the voices sound pretty bad…

Thomas Hunter II

Support Thomas on Patreon. Thomas is the author of Advanced Microservices and a prolific public speaker with a passion for reducing complex problems into simple language and diagrams. His career includes working at Fortune 50's in the Midwest, co-founding a successful startup, and everything in between.

Tags: