[Xastir] new feature request: speech for Mac os X 10.3
Derrick J Brashear
shadow at dementia.org
Mon Apr 26 14:29:09 EDT 2004
On Mon, 26 Apr 2004, Jason Winningham wrote:
> Not sure where to direct this, but Mac os X 10.3 (Panther) has a
> command line interface to the speech synthesis built in to os X. To
> get something spoken, just execute the "say" command with a string or
> input file and Panther takes it from there. It would be nice to have
> xastir talk to me on the laptop while driving.
it doesn't work unless you fork it per message; you can't stream to it,
annoyingly.
> After glancing at festival.c in xastir1.3.1/src I think it would be
> fairly easy to either replace the socket to festival with a simple
> fork/exec of the say command, then change festivalStringToSpeech() to
> write to that fd or, maybe even easier, do everything in
> festivalStringToSpeech() with a separate fork/exec for every call to
> festivalStringToSpeech().
>
> There is an API interface to Apple speech synthesis, but I have no idea
> if it would be appropriate or how difficult it is to use. I think the
> CLI would suffice.
i contributed code to use it, it's in the xastir cvs tree, but it's not
ready yet. see the xastir-dev archive for more details.
More information about the Xastir
mailing list