When I was on MacOS, I really enjoyed the command say to make my macOS speak (another bad reason to procrastinate) and I was looking
for a similar tool on Linux to make my Lenovo speak 😄. After a quick
search, I found two software: spd-say and espeak. They both offer the
same basic options, similar to the ones say provides on MacOS.
spd-say
spd-say was already included in the set of tools I install with Debian
so I checked out the documentation with man spd-say:
| |
On my current set up, the default language was English:
| |
In order to check out the complete list of languages, one must use option -L:
| |
then option -l to select the language:
| |
In the command above, I used option -t to select a specific type of voice
and r to set the rate of speech, it takes a value between -100 (very slow) and
+100 (very quick).
espeak
espeak required to be installed, so on my Debian machine I first entered:
| |
Again, I first skimmed he documentation, i.e. man espeak:
| |
So, in order to display the list of voices available I had to type:
| |
And then I used -v to select the language, -s to set the speed of speech
(expressed as a number of words per minutes) and -p adjust the pitch
(0 being very flat, 99 very sharp):
| |