Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# llia_phon output module is based on the generic plugin for Speech
2
# Dispatcher. It means there is no C code written explicitly for
3
# this plugin, all the specifics are handled in this configuration
4
# and we call a simple command line client to perform the actual
5
# synthesis.
6
#
7
 
8
# WARNING: This is only a preliminary version and needs some more
9
# work to be really useful. We plan to finish it as soon as llia_phon
10
# is fixed in it's CVS.
11
 
12
# GenericExecuteSynth is the shell command that should be
13
# executed in order to say some message. This command must
14
# stop saying the message on SIGKILL, otherwise it's useless.
15
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
16
# which will be substituted for the appropriate value (you
17
# can modify this value, see other parameters).
18
# The command can be split into more lines, if necessary, using '\'.
19
 
20
GenericExecuteSynth \
21
"echo \'$DATA\' > $TMPDIR/llia_phon.txt && llia_phon | mbrola --f $PITCH --t $RATE \
22
-e -I LIAPHON/data/noarch/initfile.lia (directory with the voice) $VOICE \
23
$TMPDIR/llia_phon.txt -.au | $PLAY_COMMAND -t au - >/dev/null"
24
 
25
# AddVoice specifies which $VOICE string should be assigned to
26
# each language and symbolic voice name. All the voices you want
27
# to use must be specified here.
28
 
29
AddVoice        "fr"	"male1"      "phoneme-file"
30
AddVoice        "fr"	"male2"      "phoneme-file"
31
 
32
# These parameters set _rate_ and _pitch_ conversion. This is
33
# part of the core of the definition of this generic output
34
# module for this concrete synthesizer, it's not intended to
35
# be modified by common users.
36
# The resulting rate (or pitch) has the form:
37
# 	(speechd_rate * GenericRateMultiply) + GenericRateAdd
38
# while speechd_rate is a value between -100 (lowest) and +100 (highest)
39
# You have to define some meaningful conversion for each synthesizer
40
 
41
GenericRateAdd 100
42
GenericPitchAdd	100
43
#GenericVolumeAdd 100
44
 
45
# (These values are multiplied by 100, because DotConf currently
46
# doesn't support floats. So you can write 0.85 as 85 and so on.)
47
 
48
GenericRateMultiply -85
49
GenericPitchMultiply 100
50
#GenericVolumeMultiply 50
51
 
52
# If the client program can't handle floats, you will have to
53
# use these two options to force integers as the parameters
54
# 1 means force integers, 0 means do nothing (write floats).
55
 
56
#GenericRateForceInteger 0
57
#GenericPitchForceInteger 0
58
#GenericVolumeForceInteger 0
59
 
60
# Debug turns debugging on or off
61
# Debug 0
62
 
63
# DebugFile specifies the file where the debugging information
64
# should be stored (note that the log is overwritten each time
65
# the module starts)
66
# DebugFile "/tmp/debug-llia-phon-generic"