Projects / Voice

Voice

Voice is a similar program to speechd, in that it creates a device called /dev/voice and any text voice written to this device will be spoken thanks to the Festival text-to-speech system. Unlike speechd however, Voice is written in C, not Perl.

Tags
Licenses
Implementation

Recent comments

30 Jun 2003 11:15 simpsonb

Re: Finding festival and permissions

> To get it working on my Linux system,
> probably because I haven't modified the
> path to find festival, I made a change:
>
> #define FESTIVAL_SERVER
> "/usr/local/festival/festival/bin/festival_server"
>
> #define FESTIVAL
> "/usr/local/festival/festival/bin/festival"
>
>
>
> execl(FESTIVAL_SERVER,"festival_server",
> FESTIVAL,(char *)NULL);
>
>
> Also, if voice is run as root, on my
> computer, the /dev/voice is not writable
> by a mortal user. I put in a
>
> umask(0);
>
> just before the daemon(0,0); line
>
> Alan Clifford
>


Hi Alan

Sorry for the delay. Thanks for the suggestion about adding umask(0). OOPS I wrote it while I was in root. :.) Serves me right.

Bill

17 Dec 2002 13:23 AlanClifford

Finding festival and permissions
To get it working on my Linux system, probably because I haven't modified the path to find festival, I made a change:

#define FESTIVAL_SERVER "/usr/local/festival/festival/bin/festival_server"
#define FESTIVAL "/usr/local/festival/festival/bin/festival"

execl(FESTIVAL_SERVER,"festival_server", FESTIVAL,(char *)NULL);


Also, if voice is run as root, on my computer, the /dev/voice is not writable by a mortal user. I put in a

umask(0);

just before the daemon(0,0); line

Alan Clifford

Screenshot

Project Spotlight

OpenStack4j

A Fluent OpenStack client API for Java.

Screenshot

Project Spotlight

TurnKey TWiki Appliance

A TWiki appliance that is easy to use and lightweight.