I had actually done something almost exactly like this as an experiment a few months back at http://isawit.com/tts/login.php. The audio download portion may no longer work, though.... I can't remember if I removed the code from that specific server or not. It was just for my own fun and edification, not any kind of project. What it did was allow someone to go to the site, type in a phrase, the server converted it to audio (WAV) and the user could download it. However, it could easily be embedded into the page. Then my desktop computer would access the database on the server once per minute to read unread phrases through a PHP/BASh hybrid to read aloud the phrases users entered. I had a simple CLI email script on my end, too, that allowed me to zip a response to the user in either audio or text format. I used Festival's TTS engine, which worked just fine for me. I did some modifications to it and then wrote some simple script wrappers for it. Summary: check out Festival's TTS. The voices need work, but it's understandable, and it definitely does work. On 4/25/07, tedd <tedd@xxxxxxxxxxxx> wrote:
Hi gang: Most "text to speech" techniques concentrate on making the browser or desktop application do the translation of web text to speech. For example, there are several listed here: http://www.oatsoft.org/Software/listing/Repository However, server-side "text to speech" is possible by delivering the sound to the browser via EMBED or BGSOUND tags -- an example of this can be seen here: http://nihseniorhealth.gov/ I contacted NIH, but they said that they hired a firm to do that for them and as such the source code is not subject to the freedom of information act. So, my question is -- is there anywhere I could get free code to do that? Thanks, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107