开源中文朗读软件: eGuideDog & eSpeak

{撰文/聚焦深空}

这两个是已经可以工作的软件,支持普通话、广东话发音,虽然离效果良好还有段距离。它们的数据部分可以当作中文语音库。

这个页面可以直接在线测试:

http://e-guidedog.sourceforge.net/ekho.php

发音效果呼吸声音很重,应是录音环境和设备问题,改进余地还很大。

参考:

Read More:

  • No related posts

11 Comments

  1. 1 透明的眼睛 Commented @ 2009-04-20 9:49Reply to this comment

    好东西,期待有更好的发展。

  2. 2 老李飛刀 Commented @ 2009-04-20 10:05Reply to this comment

    這個東東真不錯。。。。

  3. 3 山猫 Commented @ 2009-04-20 11:10Reply to this comment

    espeak 的粤语 voices 貌似只有英文发音。

    aoss espeak -v zh-yue -a 200 'hi, 喂'

  4. 4 草根网 Commented @ 2009-04-20 17:17Reply to this comment

    好文,收藏至20ju.com

  5. 5 xiooli Commented @ 2009-04-21 13:34Reply to this comment

    那个ekho我arch上编译不过。。

  6. 6 聚焦深空 Commented @ 2009-04-21 18:30Reply to this comment

    @xiooli ekho 配置过程确实不够友好,其源码中 INSTALL 文件有详细依赖说明,最好是满足其要求,有些东西被硬编码到源码中。

    http://www.linuxsir.org/bbs/thread347030.html 第12帖 附有配置编译脚本,默认安装至 /opt/ekho,用如下命令可运行: /opt/ekho/bin/ekho -v Mandarin "普通话" /opt/ekho/bin/ekho -v Cantonese "广东话"

    配置编译脚本如下:

    export PREFIX=/opt/ekho
    export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
    export LD_LIBRARY_PATH=${PREFIX}/lib
    
    cd
    
    wget -c http://www.portaudio.com/archives/pa_stable_v19_20071207.tar.gz
    tar -xvf pa_stable_v19_20071207.tar.gz
    cd portaudio/
    ./configure --prefix=${PREFIX}
    make
    make install
    cd
    rm -rf portaudio/
    
    wget -c http://voxel.dl.sourceforge.net/sourceforge/lame/lame-398-2.tar.gz
    tar -xvf lame-398-2.tar.gz 
    cd lame-398-2
    ./configure --prefix=${PREFIX}
    make
    make install
    cd
    rm -rf lame-398-2
    
    wget -c http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
    tar -xvf libogg-1.1.3.tar.gz 
    cd libogg-1.1.3
    ./configure --prefix=${PREFIX}
    make
    make install
    cd
    rm -rf libogg-1.1.3
    
    wget -c http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.0.tar.gz
    tar -xvf libvorbis-1.2.0.tar.gz 
    cd libvorbis-1.2.0
    ./configure --prefix=${PREFIX}
    make
    make install
    cd
    rm -rf libvorbis-1.2.0
    
    wget -c http://www.mega-nerd.com/libsndfile/libsndfile-1.0.19.tar.gz
    tar -xvf libsndfile-1.0.19.tar.gz 
    cd libsndfile-1.0.19
    ./configure --prefix=${PREFIX}
    make
    make
    make install
    cd
    rm -rf libsndfile-1.0.19
    
    wget -c http://voxel.dl.sourceforge.net/sourceforge/e-guidedog/ekho-0.91-full.tar.bz2
    tar -xvf ekho-0.91-full.tar.bz2 
    cd cd ekho-0.91
    cd ekho-0.91
    CXXFLAGS="-I${PREFIX}/include" ./configure --prefix=${PREFIX} --disable-soundtouch --disable-gtk2
    echo "#include " >> zhy_symbol_pcm.h
    echo "#include " >> zh_symbol_pcm.h
    echo "#include " >> ko_symbol_pcm.h
    make
    make install
    cp -a ekho-data ${PREFIX}/share/
    cd
    rm -rf ekho-0.91
    

    Mandarin *ese 这些英文词汇看着不爽,总觉的属于“英国佬”一类的"蔑称",大伙可以改源代码去掉 或 用 alias 设置别名。

  7. 7 聚焦深空 Commented @ 2009-04-21 18:32Reply to this comment

    @山猫 粤语 俺不懂,分辨不清。

  8. 8 聚焦深空 Commented @ 2009-04-21 18:40Reply to this comment

    @xiooli 脚本贴出来完全变样了。 这里原始地址 http://www.linuxsir.org/bbs/attachment.php?attachmentid=51687&d=1240308753

  9. 9 Nino Commented @ 2009-04-22 19:52Reply to this comment

    不支持TTS引擎??

  10. 10 xiooli Commented @ 2009-04-23 0:07Reply to this comment

    @聚焦深空 谢谢仁兄拉,终于搞定,不过仿佛音质不是很好的样子。

  11. 11 大宝 Commented @ 2009-04-24 21:51Reply to this comment

    听eSpeak的发音,真是要了卿命了 俺还是Wine一个语音精灵+Lily的语音库,这还实用些~ 各位若感兴,可看我在WineHQ上发的文:http://appdb.winehq.org/objectManager.php?sClass=version&iId=14958