英文 TTS - Cepstral

從 $1

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

Cepstral TTS engine

Getting Start

// 下載主程式

cd /usr/src
wget http://downloads.cepstral.com/cepstral/i386-linux/Cepstral_Allison-8kHz_i386-linux_5.1.0.tar.gz

// 安裝開始

tar -xzf Cepstral_Allison-8kHz_i386-linux_5.1.0.tar.gz
cd Cepstral_Allison-8kHz_i386-linux_5.1.0
./install.sh
echo /opt/swift/lib > /etc/ld.so.conf.d/cepstral.conf
ldconfig

// 安裝 asterisk 函式庫 app_swift

cd /usr/src
wget http://pbxinaflash.net/source/app_swift/app_swift-1.4.2.tar.gz
tar -xzf app_swift-1.4.2.tar.gz
cd app_swift-1.4.2
make
make install

//  設定 swift

ln -s /opt/swift/bin/swift /usr/bin/swift
vi /etc/asterisk/swift.conf

修改最後一行為

voice=Allison-8kHz

// 重啟 Asterisk

asterisk -rx "stop now"
amportal stop
amportal start

開始測試

// 測試 asterisk 函式庫
asterisk -rx "core show application swift"

// 新增 dialplan 測試語音

; added by alang, just for flite test
exten => 9982,1,NoOp("-------- Test Cepstral ----------")
exten => 9982,n,Answer
exten => 9982,n,Swift(Congratulation! You have installed Cepstral.)
exten => 9982,n,Hangup 

套用設定 CLI> dialplan reload

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

 

標籤:
 
註解 (0)
您必須 登入 才能發佈評論。