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?
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.
say
. man [programname]
will bring up the documentation for most unix command line applications.
Nov 22, 2013 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
.
There is also an embedded speech command for changing the rate:
say '[[rate 200]] hello'
--rate
with localized voices such as Luca and Alice) on 10.14
say "[[rate +500]] hello"
;) As the document says.
FWIW: I'm on Big Sur and the -r
/--rate
is simply ignored. However, the embedded command as described by @lri still works.
P.S. I see in an earlier comment that 10.13 also had that issue. Well...