12
say -v Alex "Hello"

Is there a way to change the speed of speech like there is in the speech settings of System Preferences -> Date & Time -> Clock -> Customize Voice?

enter image description here

18

Yes, there is. The command

say -v Alex "Hello" -r 200

will cause the voice Alex say "Hello" at a rate of 200 words/minute.

  • 2
    Also, I'd like to point out (with no rudeness intended) that this is easily found in the manpage for say. man [programname] will bring up the documentation for most unix command line applications. – Victor Wilson Nov 22 '13 at 1:21
  • -r --rate= wasn't working for me on 10.13 for /usr/bin/say, but the embedded speech command below did. Was using -v Tom. – Pysis May 13 '18 at 14:22
6

There is also an embedded speech command for changing the rate:

say '[[rate 200]] hello'
  • Unfortunately, most of the new voices added by Apple since 10.6 will ignore embedded commands for speech rates and phoneme preferences. :( Really annoying, since I love the Fiona voice pack, but she occasionally mis-pronounces some words so horribly that they're unrecognisable. :( – Benjamin Nolan Mar 31 '14 at 22:30
  • Interestingly, this works in HTML documents with Apple Speech Synthesis hotkey and the JS Speech Synthesis API. – joeyhoer Nov 20 '17 at 21:34
  • Seems to work as of 10.12, even with the very realistic voices like Thomas. Super creepy at 40 wpm :D – iwasrobbed Apr 26 '18 at 2:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.