Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
[root@ubuntu:/home/vitaliy]
# echo «Привет» | festival --tts --language russian 20:11:45
«Unsupported language, using English»
SIOD ERROR: unbound variable: voice_rab_diphone
festival: fatal error exiting.
vitali@vitali-desktop:~/.bin$ /home/vitali/.bin/get_cur_tmpr.sh | /home/vitali/.bin/sayit.sh
/home/vitali/.bin/sayit.sh: строка 3: ошибка синтаксиса около неожиданной лексемы `newline'
/home/vitali/.bin/sayit.sh: строка 3: `read str <&'
vitali@vitali-desktop:~/.bin$ /home/vitali/.bin/get_cur_tmpr | /home/vitali/.bin/sayit
/home/vitali/.bin/sayit: строка 3: ошибка синтаксиса около неожиданной лексемы `newline'
/home/vitali/.bin/sayit: строка 3: `read str <&'
vitali@vitali-desktop:~/.bin$ /home/vitali/.bin/get_cur_tmpr
-9
#!/bin/bash
# читаем фразу из стандартного ввода
read str
#запускаем синтезатор
echo "(voice_msu_ru_nsh_clunits) (SayText \"$str\")" | festival
vitali@vitali-desktop:~/.bin$ /home/vitali/.bin/gmail | /home/vitali/.bin/sayit FATAL_ERROR: The server is not running Invalid card number. Usage: amixer <options> [command] Available options: -h,--help this help -c,--card N select the card -D,--device N select the device, default 'default' -d,--debug debug mode -n,--nocheck do not perform range checking -v,--version print version of this program -q,--quiet be quiet -i,--inactive show also inactive controls -a,--abstract L select abstraction level (none or basic) -s,--stdin Read and execute commands from stdin sequentially Available commands: scontrols show all mixer simple controls scontents show contents of all mixer simple controls (default command) sset sID P set contents for one mixer simple control sget sID get contents for one mixer simple control controls show all controls for given card contents show contents of all controls for given card cset cID P set control contents for one control cget cID get control contents for one control Invalid card number. Usage: amixer <options> [command] Available options: -h,--help this help -c,--card N select the card -D,--device N select the device, default 'default' -d,--debug debug mode -n,--nocheck do not perform range checking -v,--version print version of this program -q,--quiet be quiet -i,--inactive show also inactive controls -a,--abstract L select abstraction level (none or basic) -s,--stdin Read and execute commands from stdin sequentially Available commands: scontrols show all mixer simple controls scontents show contents of all mixer simple controls (default command) sset sID P set contents for one mixer simple control sget sID get contents for one mixer simple control controls show all controls for given card contents show contents of all controls for given card cset cID P set control contents for one control cget cID get control contents for one control FATAL_ERROR: The server is not running
vitali@vitali-desktop:~/.bin$ /home/vitali/.bin/get_cur_tmpr
-9
stringZ=`cat /home/eugene/.tmp/index.htmlstringZ=`cat /home/eugene/.tmp/index.html`ACTION!="add", GOTO="festival_say_end"
RUN+="echo $name | festival --tts --language russian"
LABEL="festival_say_end"RUN+="/home/torkvemada/sayit.sh Подключен $name"#!/bin/bash
echo "$@" | festival --tts --language russian#!/bin/bash
echo "(voice_msu_ru_nsh_clunits) (SayText \"$1\")" | festival
Учим ПК разговаривать