中文语音合成软件Ekho(余音)的使用教程

官网

http://www.eguidedog.net/cn/index.php
Ekho(余音)是一个免费、开源的中文语音合成软件。支持普通话、粤语。支持Linux、Windows和Android平台。

安装

sudo apt-get install libsndfile1-dev libpulse-dev libncurses5-dev libmp3lame-dev libespeak-ng-dev
 tar xJvf ekho-xxx.tar.xz
cd ekho-xxx
 ./configure
 make
sudo make install

使用

在这里插入图片描述
在 wsl1 ubuntu 20.04 下运行 ekho -v Cantonese “你好” 时出现错误,将 wsl1 升级为 wsl2即可。

读文件并生成录音文件

ekho -f test.txt -o test.wav

设置发音类型,支持的发音’Cantonese’, ‘Mandarin’, ‘Toisanese’, ‘Hakka’, ‘Tibetan’, ‘Ngangien’ and ‘Hangul’

ekho -v Cantonese -f test.txt -o test.wav

调整语速

ekho -f test.txt -s -50 ~ 100 -o test.wav(默认是0)

调整音量

ekho -f test.txt -a -100 ~ 100 -o test.wav(默认是0,不包括-100)

猜你喜欢

转载自blog.csdn.net/liang_zhaocong/article/details/123478914
今日推荐