configuring espeak 1.19

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chuck Hallenbeck napsal(a):
> I want to use the new en-r voice selection. Using speak from the command 
> line like this, works fine:
> 
> speak -v en-r "sample of speech goes here"
> 
> but when I add the -v switch to the espeak-module.conf file in the 
> speech-dispatcher modules directory, it is ignored.

Hi Chuck,

you need to tune the voice mapping in your
/etc/speech-dispatcher/modules/espeak-generic.conf.  This is done by the
AddVoice directive.  There is a bunch of such directives in the default
configuration file, so you may just turn the first of them from:

AddVoice        "en"    "male1"		"en"

to:

AddVoice        "en"    "male1"		"en-r"

See http://www.freebsoft.org/doc/speechd/speech-dispatcher_10.html#SEC27
for more details.

Your GenericExecuteSynth should look like:
"echo \"$DATA\" | espeak -w /tmp/espeak.wav -v $VOICE -s $RATE -a
$VOLUME -p $PITCH --stdin && aplay /tmp/espeak.wav"

Best regards, Tomas.




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux