0

i'm trying to search for the best tts. and finally I found that say command in mac-os terminal is the most natural speaker engine. but I want to use it in my linux OS.(Ubuntu or manjaro) Is it any way to use it in linux?

I EMPHASIS that I don't want to use espeaker. Just say command. thanks for your help

Amin
  • 421
  • 5
  • 7

3 Answers3

7

There is a command line tool called spd-say. This is found on Ubuntu as well and here are some links for some additional reference.

Ubuntu Manpages

GeeksForGeeks

spd-say "some text" will say the text with the speech dispatcher.

Taken from Ubuntu Manpages:

spd-say sends text-to-speech output request to speech-dispatcher process which handles it and ideally outputs the result to the audio system.

cjerrington
  • 98
  • 1
  • 4
4

say is a command line interface to Mac OS X Speech Synthesis Manager, which does not exist outside Apple products. So... no.

I EMPHASIS that I don't want to use espeaker. Just say command. thanks for your help

If you just want say command, you can alias an open-source engine to it; but it will not sound the same. It's not about the say command, but the TTS engine it invokes.

However, I doubt you tested all possibilities. IBM has a rather good TTS engine, which is available via a web service; so does Google. Both are free to use (up to a monthly limit). Of course, you have to be online to use those.

Amadan
  • 191,408
  • 23
  • 240
  • 301
0

you can use espeak-ng https://github.com/espeak-ng/espeak-ng.

installed and tested on my arch linux.

zyfyy
  • 323
  • 3
  • 10