"say" terminal command - how to change emphasis

I have to use the german voice Markus to speak a text ending with a website domain and I do it with the "say" command in the terminal as following:

say -v "Markus" "Bitte besuchen Sie auch unsere Website unter www punkt apple punkt com."


"Markus" is pronouncing "com" perfect as a word but is not knowing it as a german one. The voice is ending in high tone like before a comma and not going down like in any other phrase end. "Die Website apple punkt ch." gets spoken perfectly.


I could not find any options to control the emphasis or ending a phrase. Any help?

Mac mini, OS X Mountain Lion (10.8.5)

Posted on Dec 1, 2014 7:47 AM

Reply
4 replies

Dec 3, 2014 1:43 AM in response to cabaumle

Hello


You may try using embedded speech commands in text, such as:


say -v "Markus" "Bitte besuchen Sie auch unsere Website unter www punkt apple punkt [[emph -]]com."


or


say -v "Markus" "Bitte besuchen Sie auch unsere Website unter www punkt apple punkt [[pbas 30]]com."



cf.

Speech Synthesis Programming Guide

https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/ SpeechSynthesisProgrammingGuide/



Not tested, for I'm using OSX 10.6.8 where no voice named Markus is.


Good luck,

H



PS. The following commands demonstrate some tuning of Ralph's speech under 10.6.8.


say -v Ralph "dot com" say -v Ralph "dot [[emph -]]com" say -v Ralph "dot [[pbas 30]]com"

Dec 4, 2014 1:18 AM in response to Hiroto

Thank you for help.

It looks like "Markus" is a voice which is not interpreting the commands. [[slnc n]] works fine. Others do not. And the trick with noting like human reading is not working either. It looks like "Markus" is pronouncing correctly only if the sentence is understandable by the (a) dictionary.


At least I can change the positions in the sentence to avoid the .com at the end.

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.

"say" terminal command - how to change emphasis

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