- This topic has 1 reply, 1 voice, and was last updated 1 month, 1 week ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Uniting People
What makes us different from other similar websites? › Forums › Tech › Text to Speech – Natural Voice [Linux]
Tagged: Speech Reader, Text-to-speech, TTS
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
$ echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(pyenv init -)"' >> ~/.bashrc
$ pip install piper-tts
$ more text.txt | piper --cuda --model en_GB-alba-medium --output_file TTS.wav
Example Voice: https://taksshack.com/forums/topic/great-job-phone-network-employs/
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.