phwhite / texttospeech

FreePBX Text-To-Speech Module (Cepstral Swift, eSpeak, fLite, Google-TTS, Microsoft-TTS)
8 stars 3 forks source link

Google-Engine error. Whats this with javascipt-out and php? #9

Open ozett opened 10 years ago

ozett commented 10 years ago

hi, your tts is rather 2 years unmantained, but still better than freepbx/smoozes one. i am running freepbx 2.11, flite and espeak engines are ok, but google makes error.

if i run the string on cmd-line, everthings is ok, and file is converted!!

i got this in the log: [2013-12-13 10:45:32 | :tts07-english | text:google | TTS-Notice] Adding new entry [2013-12-13 10:45:32 | :tts07-english | text:google | TTS-ERROR] Conversion Command Failed [2013-12-13 10:45:32 | :tts07-english | text:google | TTS-ERROR] Vardump... cmd = [2013-12-13 10:45:32 | :tts07-english | text:google | TTS-ERROR] string(175) "/var/lib/asterisk/bin/google-tts -r 8000 -o '/var/lib/asterisk/sounds/texttospeech/tts07-english.wav' -l en -s 1.2 -f '/var/lib/asterisk/sounds/texttospeech/tts07-english.txt'" [2013-12-13 10:45:32 | :tts07-english | text:google | TTS-ERROR] [2013-12-13 10:45:32 | :tts07-english | text:google | TTS-ERROR] Vardump... Output = [2013-12-13 10:45:32 | :tts07-english | text:google | TTS-ERROR] array(0) { [2013-12-13 10:45:32 | :tts07-english | text:google | TTS-ERROR] } [2013-12-13 10:45:32 | :tts07-english | text:google | TTS-ERROR]

As i am no coder, i can see a difference to flite and espeak the engines code. there is php-code in javascipt.maybe thats a reason for the error?

are you still alive and willing to fix this?

great thanks, ozett

taphawane commented 9 years ago

I have the same issue with google engine did you end up fixing this?

mosama77 commented 8 years ago

Hi, I get the error conversion failed when trying to use Google TTS engine , do you have a fix for it?