Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

festival.cc File Reference

#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <signal.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <pthread.h>
#include <socket_util.h>
#include <drivertable.h>
#include <driver.h>
#include <error.h>
#include <player.h>

Defines

#define DEFAULT_FESTIVAL_PORTNUM   1314
#define DEFAULT_FESTIVAL_LIBDIR   "/usr/local/festival/lib"
#define DEFAULT_QUEUE_LEN   4
#define FESTIVAL_SAY_STRING_PREFIX   "(SayText \""
#define FESTIVAL_SAY_STRING_SUFFIX   "\")\n"
#define FESTIVAL_QUIT_STRING   "(quit)"
#define FESTIVAL_CODE_OK   "LP\n"
#define FESTIVAL_CODE_ERR   "ER\n"
#define FESTIVAL_RETURN_LEN   39
#define FESTIVAL_STARTUP_USEC   1000000 /* wait before first connection attempt */
#define FESTIVAL_STARTUP_INTERVAL_USEC   100000 /* wait between connection attempts */
#define FESTIVAL_STARTUP_CONN_LIMIT   60 /* number of attempts to make */
#define FESTIVAL_DELAY_USEC   20000

Functions

DriverFestival_Init (ConfigFile *cf, int section)
void Festival_Register (DriverTable *table)
void QuitFestival (void *speechdevice)


Define Documentation

#define DEFAULT_FESTIVAL_PORTNUM   1314
 

#define DEFAULT_FESTIVAL_LIBDIR   "/usr/local/festival/lib"
 

#define DEFAULT_QUEUE_LEN   4
 

#define FESTIVAL_SAY_STRING_PREFIX   "(SayText \""
 

#define FESTIVAL_SAY_STRING_SUFFIX   "\")\n"
 

#define FESTIVAL_QUIT_STRING   "(quit)"
 

#define FESTIVAL_CODE_OK   "LP\n"
 

#define FESTIVAL_CODE_ERR   "ER\n"
 

#define FESTIVAL_RETURN_LEN   39
 

#define FESTIVAL_STARTUP_USEC   1000000 /* wait before first connection attempt */
 

#define FESTIVAL_STARTUP_INTERVAL_USEC   100000 /* wait between connection attempts */
 

#define FESTIVAL_STARTUP_CONN_LIMIT   60 /* number of attempts to make */
 

#define FESTIVAL_DELAY_USEC   20000
 


Function Documentation

Driver* Festival_Init ConfigFile cf,
int  section
 

void Festival_Register DriverTable table  ) 
 

void QuitFestival void *  speechdevice  ) 
 


Generated on Tue May 3 14:15:39 2005 for Player by doxygen 1.3.6