Was this page helpful?

英文 TTS - Flite

    內容表格
    1. 1. Getting Start
    2. 2. 開始測試

    Flite - Festival-lite TTS engine

    更多文章

    Getting Start

    下載需要的安裝檔

    cd /usr/src
    wget http://asterisk-flite.sourceforge.net/extras/flite-1.3-sharedlibs.patch
    wget http://asterisk-flite.sourceforge.net/extras/flite-1.3-alsa_support.patch
    wget http://www.speech.cs.cmu.edu/flite/packed/flite-1.3/flite-1.3-release.tar.gz
    wget http://kent.dl.sourceforge.net/sourceforge/asterisk-flite/asterisk-flite-0.5.tar.gz

    修正及編譯安裝 flite-1.3

    tar -xzf flite-1.3-release.tar.gz
    cd flite-1.3-release
    patch -p1 < ../flite-1.3-sharedlibs.patch
    patch -p1 < ../flite-1.3-alsa_support.patch
    ./configure --enable-shared
    make
    make install
    

    編譯安裝 asterisk-flite

    cd ../
    tar -xzf asterisk-flite-0.5.tar.gz
    mv asterisk-flite-0.5/ flite-1.3-release/
    cd flite-1.3-release/asterisk-flite-0.5/
    make
    make install
    ldconfig

    重啟 Asterisk 服務

    asterisk -rx "stop now"
    amportal stop
    amportal start
    
    開始測試

    // 檢查 Application
    asterisk -rx "core show application flite"

    // 新增 dialplan 用來測試,將以下這段貼在 extensions_custom.conf 的 [from-internal-custom] 下方。

    ; added by alang, just for flite test
    exten => 9981,1,NoOp("-------- Test flite ----------")
    exten => 9981,n,Answer
    exten => 9981,n,Flite(This is test.)
    exten => 9981,n,Hangup
    

    P.S 以上安裝是使用社群的測試平台,有興趣要連到測試平台試試的網友,請先參考這篇 社群專用網路-TAUG VPN

    語音檔範例請見附件區,語音內容為:

    Asterisk is software that turns an ordinary computer into a communications server.
    It is used by small businesses, large businesses, call centers, carriers and governments worldwide.

    Was this page helpful?
    標籤 (Edit tags)
    • No tags

    文件 1

    文件大小日期附件上傳者 
     Flite.wav
    Sample with Flite
    195.36 KB13:49, 4 May 2011alang動作
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core