Re: Server side speech
| From: | Daniel Brown | Date: | Wed, 25 Apr 2007 20:32:24 +0000 |
| Subject: | Re: Server side speech | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253749@lists.php.net to get a copy of this message | ||
No, that's one of my servers. In all honesty, though, a dedicated
server or VPS is so cheap nowadays that it's almost not worth going with a
shared host anymore for any "real" programming. Because if you pay for your
own server (this one is less than $60 per month) and administer it yourself
(or hire someone --- <plug shame="off">like me!</plug>) you can do a lot
more than a shared host, of course.
It could be possible, though, depending on your host's system
configuration, to put a pre-compiled Festival binary in your home directory
and calling it from there. Right off the top of my head, aside from
security policies on the box, I can't think of any reason this wouldn't
work.
On 4/25/07, tedd <tedd@sperling.com> wrote:
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. Far-out! Is it your server, or a hosted account, or does it not matter? Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com-- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107