educare:pc_parlante2
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
educare:pc_parlante2 [2018/08/04 11:36] – created profpro | educare:pc_parlante2 [2020/06/08 22:20] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====PC parlante (2.0)==== | ||
+ | |||
+ | Aggiornamento di [[educare: | ||
+ | |||
+ | Per la lettura delle parole in lingua inglese, ;;con traduzione;; | ||
+ | |||
+ | [[educare: | ||
+ | |||
+ | ==Dipendenze== | ||
+ | |||
+ | curl, festival, alsa-oss, festvox-itapc16k, | ||
+ | |||
+ | NOTA: | ||
+ | |||
+ | E' stato sviluppato per XFCE, dove è necessario installare **libnotify-bin** | ||
+ | |||
+ | Se non è disponibile **libnotify-bin**, | ||
+ | |||
+ | **BUG IMPORTANTE** | ||
+ | Sul sistema Debian è presente un bug per la lingua italiana | ||
+ | La patch è segnalata, ma non è applicabile (2019) | ||
+ | |||
+ | $ echo ' | ||
+ | SIOD ERROR: wrong type of argument to get_c_utt | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | |||
+ | <code file traduceita.sh> | ||
+ | #!/bin/bash | ||
+ | |||
+ | xsel | sed ' | ||
+ | |||
+ | sleep 0.5; | ||
+ | |||
+ | curl https:// | ||
+ | |||
+ | iconv -f UTF-8 ${HOME}/ | ||
+ | |||
+ | parole=`html2text -width 30 ${HOME}/ | ||
+ | |||
+ | parola=`echo ${parole} | head -1` | ||
+ | |||
+ | echo ${parole} | festival --tts --pipe --language italian; | ||
+ | |||
+ | notify-send -t 2500 ${parola} | ||
+ | </ | ||
+ | |||
educare/pc_parlante2.txt · Last modified: 2020/06/08 22:20 by 127.0.0.1