University of Edinburgh’s Festival Speech Synthesis Systems is a free software multi-lingual speech synthesis workbench that runs on multiple-platforms offering black box text to speech, as well as an open architecture for research in speech synthesis. It designed as a component of large speech technology systems.
Since I had problems with clients included in Speech Tools ( part of Festival software ),
I wrote Pvox .
Pvox is a PHP 5 client for the Festival Speech Synthesis Systems. It connects to a festival server, sends commands and the string to process and receives a wave file. It could be used as a command line script or to play spoken audio on a browser.
Version: 1.0
Changes: none
Usage :
- Run festival in server mode: festival –server
- Run pvox : read the examples below
// TEST CODE FOR COMMAND LINE $pv = new pvox(); $pv->set_ftserver(array("ip" => "192.168.0.2", "port" => 31337)); $pv->set_string("Hello world!"); $pv->vox(); $pv->save(); |
// TEST CODE FOR USE WITHIN BROWSERS $pv = new pvox(); $pv->set_ftserver(array("ip" => 192.168.0.2", port" => 31337)); $pv->set_string($_GET["string"]); $pv->vox(); $pv->play_web(); |
[viewcode]src=”/pub/utils/pvox.txt” lang=”php”[/viewcode]

Dear Paolo, (oppure Caro Paulo :-)))
Do you think I can use Pvox integrated in Moodle code, to provide assistance to blind children.
Tnak you!!!
Man, I did not try this yet but if it does exactly what you said, AHA, you’re the dopest !
Thanks !
Do you have a copy of the Windows binary and installation that I could use? I have problems with the version I have. I can get festival to run inserver mode but it rejects the socket connection?
Just what I was looking for! Got it up and running pretty quickly, just had to turn the ‘ character to a ‘, but that may just be your content management system rewriting it. Thanks!
Hi,
i become the
SIOD ERROR: could not open file file-mode.scm
tts_file: can’t find mode description “file” using raw mode instead
Google has no Answer
Hi ,
that is kool but it would be great if you can share you init.d script for running festival service as well.
Thanks
Adeel