PHP Classes

Festival Text to Speech Wrapper: Wrapper to call the Festival text to speech tool

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 38%Total: 3,098 All time: 1,169 This week: 673Up
Version License Categories
festival 1.0.0GNU General Publi...Text processing, Audio


This is a simple wrapper class that can call the Festival text to speech generation tool of the University of Edinburgh.

The class can take strings of text that are stored in work files for passing to the Festival tool programs as text input sources.

The class provides functions for generating audio speech files in the WAV format or to output the resulting speech sound to the machine sound system.

Innovation Award
PHP Programming Innovation award nominee
June 2005
Number 6

Prize: One book of choice by SAMS
Certain types of applications need to output text messages in audible format, for instance to communicate in an easier way with blind people.

This class provides a PHP interface to synthesize speech from text using an external tool named Festival.

Despite the actual work of translating text to speech is done by the Festival tool, this class simplifies the work of interfacing with this tool by generating and retrieving the files that Festival takes as input and output.

Manuel Lemos
Picture of Paul Scott
Name: Paul Scott <contact>
Classes: 14 packages by
Country: South Africa South Africa
Age: 47
All time rank: 471 in South Africa South Africa
Week rank: 280 Down1 in South Africa South Africa Equal
Innovation award
Innovation award
Nominee: 4x


  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Documentation
Plain text file festival_class_inc.php Class Main festival wrapper class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,169
This week:673Up
User Ratings User Comments (1)
 All time
not works for me
15 years ago (Dragomir Manolov)