Is there any way to add a pronunciation to OSX text to speech service? I've google for the last few hours without a solution.
Asked
Active
Viewed 1,605 times
3
-
Are you selecting text and running the contextual menu Start Speaking command? You could create an Automator service that replaces text within a selection before passing it on to be spoken. See http://apple.stackexchange.com/questions/204299/french-narrator/204301#204301 for a service that speaks. – Graham Miln Aug 10 '16 at 12:41
-
I'm currently doing it with automator, just wondering if there's a more natural way. – Harrison Tran Aug 10 '16 at 12:46
1 Answers
1
Yes, you can affect macOS's text to speech pronunciation. Everything you need to know is in Apple's Speech Synthesis in OS X.
Try these two commands in Terminal.app:
say "cat"
Now to have the individual letters spelt out:
say "[[char LTRL]] cat [[char NORM]]"
See Use Embedded Speech Commands to Fine-Tune Spoken Output for a long list of modifiers.
If you need to speak in another language, be sure to use an appropriate voice.

Graham Miln
- 43,776
-
How do you go about adding it permanently to the text to speech dictionary? Like if I do
say "cat"
again it doesn't spell it out again. – Harrison Tran Aug 10 '16 at 12:32 -
Please could you ask this as a separate question. Feel free to link back to this question to provide additional context. – Graham Miln Aug 10 '16 at 12:35
-
Sorry, I didn't properly ask what I wanted, I'll modify the question. – Harrison Tran Aug 10 '16 at 12:36
-
A separate question would be better. The answer here is useful and may help others. A new question can then directly address the other aspect, how to permanently store these changes. – Graham Miln Aug 10 '16 at 12:38
-
-
As of 2024, these no longer work properly but the documentation for them is still on line. – whiskeychief Feb 07 '24 at 19:21