jlice
2018-02-19 07:32 deepin
- #!/bin/bash
- say() {
- local IFS=+;
- /usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols "http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=5&text=$*" > /dev/null 2>&1;
- }
- say $*
把这个脚本保存为say,chmod +x ./say,然后
say 要说的话
就可以了
Reply Like 0 View the author
现在已经把系统刷进二奶本,毕竟是新手,使用上还是有很多问题,想问一下,OS上面,有没有和 “MAC 语音 朗读文本” 差不多的功能。
先谢谢名位大大