gSpeech is a minimal GUI for the Text To Speech 'Svox Pico'. Read clipboard or selected text in different languages and manage it : pause, stop, replay.
- Ubuntu 18.04, 19.10 and 20.04: PPA
Ubuntu:
Depends: python (>=3.5) python3-gst-1.0 (>=1.0) python3-gi (>=2.24) libttspico-utils (>= 1.0) gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gir1.2-appindicator3-0.1
Suggests: sox (is needed to speech text with more than 2^15 characters)
sudo apt install libttspico-utils sox
sudo apt install espeak mbrola-fr1 mbrola-fr4 speech-dispatcher
cp -r ./speech-dispatcher ~/.config
will be used to read the text in the images
sudo apt install tesseract-ocr-fra xfce4-screenshooter
Attention it is installation takes more than 1go destocking
cd ~/.local/share
mkdir argos-translate
cd argos-translate
python3 -m venv venv
source venv/bin/activate
pip install argostranslate
ln -s $(which argos-translate-cli) ~/.local/bin/
cd ~/.local/share
git clone https://github.com/soimort/translate-shell
cd translate-shell
make PREFIX=~/.local/bin/ install
./gspeech-cli -i "mon chat s'appelle maurice" -o speech/tests/fr_FR/assets/chat_maurice.wav
./gspeech-cli2 --input-text "mon chat s'appelle maurice"
Stop playback
./gspeech-cli2 -S
commande | keyboard shortcuts |
---|---|
./gspeech-cli2 --selection |
Super+² |
./gspeech-cli2 --selection -t |
Super+É |
./gspeech-cli2 -S |
Maj+Échap |
make docker build.{env}
make docker run.{env}
make test
make build.debian
and launch with :
sudo dpkg -i ../gspeech*_all.deb
nix build
make clean