What makes us different from other similar websites? › Forums › Tech › Text to Speech – Natural Voice [Linux] › Reply To: Text to Speech – Natural Voice [Linux]
February 12, 2025 at 9:55 am
#7895

Keymaster
Updated command:
$ python3.11 -m venv myenv
$ source myenv/bin/activate
$ pip install piper-tts
British Voice
$ more text.txt | piper --cuda --model en_GB-alba-medium --output_file TTS.wav
US English Voice
$ more text.txt | piper --cuda --model en_US-lessac-medium --output_file TTS.wav
Note:
Make sure your txt file exists, and that it has text in it, in the correct folder. Also, note that myenv is the name of the container/folder you want to use.
-
This reply was modified 1 month ago by
thumbtak. Reason: Added US English voice