I’m actually playing around with these TTS engines.
Flite sounds horrible, so I was looking for cheap alternatives.
Unfortunately I could only find google TTS. There is also a agi script for google-tts but I have no idea how to implement it.
hi, can you explain better how you modifiy the file and where you put the google files?
in particular what is the exact point in propolys-tts where you add your code?
hi,
i did everything then i create a text to speech item. when i call the asterisk answers and then hangup after 1 second.
if i check under /var/lib/asterisk/sounds/tts i found a txt with the text inserted in the “text to speech” menu but no wav file.
i discover that is mandatory to write the text in “text to speech” module without give enters between phrases.
on the contrary the script will not work.
User mts, note that any future upgrades to the Text to Speech module will probably overwrite the file, “/var/lib/asterisk/agi-bin/propolys-tts.agi” make sure to keep a backup of your changes.
Are there any devs watching this thread? This is the first time I have seen a method to use googletts with native FreePBX TTS modules, and it is not pretty. From my reading of the code in “agi-bin/propolys-tts.agi”, it looks like the native FreePBX TTS and TTS Engines modules only support 3 projects, text2wave, flite and swift, and to use any other TTS project requires a hack as detailed above.
I have to agree with lgaetz. This method isn’t very nice.
It would be great to extend the TTS possibilities of freepbx.
As a temporary solution, it would be great to integrate google to the default TTS-engines. In my opinion google tts has by far the best free TTS-engine.