Today in History TTS: Ready for Testing

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
20,217
Reaction score
5,974
Yet another text-to-speech app for Asterisk is ready for some testing. If you'd like to assist, follow the steps below to install the software. Then pick up a phone on your Asterisk system and dial T-O-D-A-Y.

Log into your server as root and issue the following commands:

HTML:
cd /root
wget http://bestof.nerdvittles.com/applications/today/today.pbx
chmod +x today.pbx
./today.pbx
asterisk -rx "dialplan reload"
This install assumes you have at least one Nerd Vittles TTS app already installed. If not, add the following line to /etc/crontab:

HTML:
01 0 * * * root rm -f /var/lib/asterisk/sounds/tts/tts* > /dev/null
If you have Cepstral installed on your system, edit nv-today.php in /var/lib/asterisk/agi-bin and set: $ttspick = 1 ;


Feedback appreciated.

P.S. The Civil War began 148 years ago today in good old Charleston...

fort_sumter.jpg
 
If you're just installing this now, you can ignore this update as it's been incorporated above. For those that installed Today in History before the time of this update, log into your server as root and issue the following commands:

HTML:
cd /var/lib/asterisk/agi-bin
rm nv-today.php
wget http://bestof.nerdvittles.com/applications/today/today.zip
unzip today.zip
rm today.zip
chown asterisk:asterisk nv-today.php
chmod +x nv-today.php
This update preserves today's Today in History message in .wav format for the entire day so you don't have to download and recreate it over and over again on busy systems. It will get erased at midnight by the /etc/crontab job. So... a new one gets created the first time someone dials T-O-D-A-Y tomorrow. ;)
 
Working well! Many thanks!

Some bits used my Cepstral voice, namely the introduction, but the main "In this day in....." bit was the original voice?

Is this intended?

Thanks

Matthew
 
To answer my own post, it looks like I initially ran the script, which created the .wav file, then I turned on Cepstral, so it used the original .wav file, with a Cepstral introduction.

Just need a European data source now!

Cheers

Matthew
 
It'll fix itself tomorrow. Or you can...

HTML:
rm /var/lib/asterisk/sounds/tts/tts-today.wav
 
Did think about that.....

... but thought I might break something!


Somewhere I have a CD of a "On this day" type database for the uk.... must dig it out!
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top