Asterisk-eSpeak 2.0

Allows you to use the Espeak speech synthesizer with Asterisk
Asterisk-eSpeak is a module for the Asterisk open source PBX which allows you to use the eSpeak voice synthesis engine to render text to speech.

It provides the "Espeak" dialplan application, invoking the eSpeak text-to-speech engine locally.

Installation

To build just type the following in the app-eSpeak folder

$ make
$ make install

To install the sample configuration file, issue the following command after the 'make install' command:

$ make samples

Usage

Espeak(text[,intkeys,language]): This will invoke the eSpeak TTS engine, send a text string, get back the resulting waveform and play it to the user, allowing any given interrupt keys to immediately terminate and return.

Asterisk dialplan example:

;eSpeak Demo
exten => 1234,1,Answer()
;;Play mesage using default language as set in espeak.conf
exten => 1234,n,Espeak("This is a simple espeak test in english.",any,)
;;Play message in Spanish
exten => 1234,n,Espeak("Esta es una simple prueba espeak en español.",any,es)
;;Play message in Greek
exten => 1234,n,Espeak("Αυτό είναι ένα απλό τέστ του espeak στα ελληνικά.",any,el)
;;Read a text file from disk (relative to the channel language)
;;and play it with espeak using the asterisk channel language.
exten => 1234,n,ReadFile(MYTEXT=/path/${LANGUAGE}/myfile,200)
exten => 1234,n,Espeak("${MYTEXY}",any,${LANGUAGE})
exten => 1234,n,Hangup()

last updated on:
August 22nd, 2011, 14:41 GMT
price:
FREE!
developed by:
Lefteris Zafiris
homepage:
zaf.github.com
license type:
GPL (GNU General Public License) 
category:
ROOT \ Communications \ Internet Phone

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT