PIONEERS app_picotts

jerrm

Guru
Joined
Sep 23, 2015
Messages
838
Reaction score
405
I had some time last night and updated app_picotts to build with current asterisk versions.

This is based on the apparently abandoned https://github.com/rampa069/app_picotts.

It has been updated to build with asterisk 13, should be good with other relatively modern versions, almost certainly 11+, but I've only tested with 13.

Some miscellaneous code cleanups, brought it closer in line with Zafiris' current app_flite. Added volume and language as options for app_picotts.conf. Still some things I would change, but it works(for me).


REQUIREMENTS: pico2wave and sox need to be installed, on the path, and functional.

To install:
Code:
cd /usr/src
git clone https://github.com/jerrm/app_picotts.git
cd app_picotts
make
make install

I added as_flite and install_over_flite make targets. This will install over and replace app_flite. It should be a drop in replacement, and all dial plans, agi scripts, etc using flite should (hopefully) "just work."

To install as app_flite:
Code:
cd /usr/src
git clone https://github.com/jerrm/app_picotts.git
cd app_picotts
make as_flite
make install_over_flite

The conf file remains app_picotts.conf even if installed as flite.

Try to break it and let me know.
 
Last edited:

jerrm

Guru
Joined
Sep 23, 2015
Messages
838
Reaction score
405
Minor update posted at https://github.com/jerrm/app_picotts

Adds two config options:
touchcache - if caching is enabled, this will update the time stamp on the cached files when played. Intent is to help manage cache pruning on systems where the volume is mounted with noatime (such as raspberry pi).
soxeffects - passed to sox command line when converting pico2wave output to asterisk compatible sln format.

See the sample app_picotts.conf file and sox documentation.
 
Last edited:

sirdotcom

Member
Joined
Mar 20, 2010
Messages
150
Reaction score
25
Works great ... one question though: where should the app_picotts.conf file reside?
 

Members online

Forum statistics

Threads
25,778
Messages
167,504
Members
19,198
Latest member
serhii
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.
Top