Last active
October 20, 2023 09:15
-
-
Save eSlider/717bb5b5be181c9d7a669937474df08a to your computer and use it in GitHub Desktop.
Russian text to speech
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo add-apt-repository ppa:linvinus/rhvoice | |
sudo apt-get update | |
sudo apt-get install rhvoice rhvoice-russian rhvoice-english aplay | |
set -x | |
# Play russian speaker voices | |
for speeker in aleksandr irina elena anna | |
do echo "Голос воспроизводит спикер ${speeker}" | RHVoice-client -r 0.5 -p -0.25 -s "${speeker}+CLB" | aplay | |
done | |
# Play english speaker voices | |
for speeker in alan clb slt | |
do echo "The voice is reproduced by the speaker ${speeker}" | RHVoice-client -r 0.5 -p -0.25 -s "${speeker}+CLB" | aplay | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fix repository for Ubuntu >= 20.04