Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i own a translation service and now im wanting to implement a TTS solution. Do you know any software that can be executed from php to generate mp3s on the fly for a specific text?

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

There is an excellent TTS engine for Linux called festival

'yum install festival' or 'apt-get install festival'

As far as using PHP there should be no real issue with it. A quick search brings up a rather promising class http://ardoino.com/31-php-pvox-festival-tts/

However festival will output to wav file. You will then need to convert it to mp3. Again another good tutorial is available at http://www.xenocafe.com/tutorials/php/festival_text_to_speech/index.php

share|improve this answer
    
+1 - Festival does a great job. –  Evan Anderson Jul 18 '10 at 20:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.