Re: [orca-list] updating espeak



According to Jonathan Duddington:
# You could make a new voice file in espeak-data/voices which contains
# the data from the voice file that you want, followed by the data from
# the variant file that you want.

Thanks for this. It works perfectly here. A couple of notes. First of
all, a voice file only needs one "name" line, and eSpeak will only
present the last "name" line in a voice file to speech-dispatcher and
Orca. When making a new voice file with text copied from a varient file
as shown above, you will need to change the "name" line in the voice
file to whatever you want eSpeak to present to Orca, and remove the
"name" line copied from the text of the variant file from
espeak-data/voices/\!v, as the second name will take precedence over the
name you put on the first "name" line in the voice file. The following
is an example of a US English Klatt4 voice file that shows up in Orca as
english-us-klatt4. Change the name to whatever you want, as I just made
this in a minute or so and copied the entire text here.

### begin voice file ###
// moving towards US English
name english-us-klatt4
language en-us 2
language en-r
language en 3
gender male

phonemes en-us
dictrules 3 6
option reduce_t 1

stressLength 140 120 190 170 0 0 255 290
stressAmp  17 16  19 19  19 19  21 19

replace 03 I  i
replace 03 I2 i

language variant
klatt 4

### end voice file ###

In addition, every time you create a new voice file like this, you will
need to completely kill Orca and speech-dispatcher and restart them,
otherwise, Orca will not see the new voice until you either kill and
restart both speech-dispatcher and orca or reboot the system. Hopefully
such temporary work-arounds will allow us to use female voices as well,
although separate voices will need to be made for each voice+variant
file you want to use with Orca.
~Kyle
http://kyle.tk/
-- 
"Kyle? ... She calls her cake, Kyle?"
Out of This World, season 2 episode 21 - "The Amazing Evie"


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