Resource icon

TUTORIAL Create Wav File with GoogleTTS

krakastan

Guru
Joined
Feb 20, 2008
Messages
135
Reaction score
22
krakastan submitted a new resource:

Create Wav File with GoogleTTS - Custom Text To Speech files as System Recordings

To create a .wav file called FileName.wav saying "Text to speech here" - change as appropriate

ssh to server and run the following:
Code:
/var/lib/asterisk/agi-bin/googletts-cli.pl -l en -t "Text to speech here" -r 8000 -o /var/lib/asterisk/sounds/tts/FileName.wav

Goto FPBX GUI:
Admin / SystemRecordings
Select Built-in Recordings
Under the Select System Recording: click on the text box to open the drop down
type in tts and you should get a list of...

Read more about this resource...
 

krakastan

Guru
Joined
Feb 20, 2008
Messages
135
Reaction score
22
As per NerdVittles, Google TTS is giving way to Pico TTS.

Having installed Pico TTS, The new generic command given is

Code:
pico2wave --wave sample.wav -l en-US "Here is a sample, using the PICO text to speech engine."

or for GB

Code:
pico2wave --wave sample.wav -l en-GB "Here is a sample, using the PICO text to speech engine."

and to convert resultant sample from 16000 to 8000 :-
Code:
sox test16000.wav -r 8000 test8000.wav
 
Last edited:

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