Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# pico output module is based on the generic plugin for Speech
2
# Dispatcher. It means there is no 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. Use this config file with the sd_generic output module.
6
#
7
# IMPORTANT: The audio output method relies on an audio playback
8
# utility (play, aplay, paplay for OSS, ALSA or Pulse)
9
# being installed. If this is not the case, consider installing it
10
# or replace the $PLAY_COMMAND string in the GenericExecuteString below
11
# with play, paplay or similar.
12
#
13
# GenericExecuteSynth is the shell command that should be
14
# executed in order to say some message. This command must
15
# stop saying the message on SIGKILL, otherwise it's useless.
16
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
17
# which will be substituted for the appropriate value (you
18
# can modify this value, see other parameters).
19
# The command can be split into more lines, if necessary, using '\'.
20
GenericExecuteSynth \
21
"pico2wave -w $TMPDIR/pico.wav -l $VOICE \'$DATA\' && $PLAY_COMMAND $TMPDIR/pico.wav
22
 
23
# The following three items control punctuation levels None, Some, and All.
24
# Each of these values will be substituted into the $PUNCT variable depending
25
# on the value passed to speech dispatcher from applications.
26
# Note that if an empty string is specified, then $PUNCT will be blank
27
# which is a default situation for espeak.
28
 
29
GenericPunctNone " "
30
GenericPunctSome "--punct=\"()[]{};:\""
31
GenericPunctAll "--punct"
32
 
33
# GenericStripPunctChars is a list (enclosed in doublequotes) of
34
# all the characters that should be replaced by whitespaces in
35
# order not to be badly handled by the output module or misinterpreted
36
# by shell.
37
# GenericStripPunctChars  ""
38
 
39
# If the language you need to pass in $LANG is different
40
# from the standard ISO language code, you can specify
41
# which string to use instead. If you wish to use
42
# other than ISO charset for the specified language,
43
# you can add it's name (as accepted by iconv) as a
44
# third parameter in doublequotes.
45
 
46
 
47
GenericLanguage		  "en" "en" "utf-8"
48
GenericLanguage		  "de" "de" "utf-8"
49
GenericLanguage		  "es" "es" "utf-8"
50
GenericLanguage		  "fr" "fr" "utf-8"
51
GenericLanguage		  "it" "it" "utf-8"
52
 
53
# AddVoice specifies which $VOICE string should be assigned to
54
# each language and symbolic voice name. All the voices you want
55
# to use must be specified here. This list will likely not be
56
# up-to-date, please check pico documentation and add the voices
57
# you want to use.
58
 
59
AddVoice        "en"    "FEMALE1"	"en-US"
60
AddVoice        "en"    "FEMALE2"	"en-GB"
61
AddVoice        "de"    "FEMALE1"	"de-DE"
62
AddVoice        "es"    "FEMALE1"	"es-ES"
63
AddVoice        "fr"    "FEMALE1"	"fr-FR"
64
AddVoice        "it"    "FEMALE1"	"it-IT"
65
 
66
# Yes, it's wrong, but this way you at least get something even when configured
67
# (by default) to use a male voice
68
AddVoice        "en"    "MALE1"		"en-US"
69
AddVoice        "en"    "MALE2"		"en-GB"
70
AddVoice        "de"    "MALE1"		"de-DE"
71
AddVoice        "es"    "MALE1"		"es-ES"
72
AddVoice        "fr"    "MALE1"		"fr-FR"
73
AddVoice        "it"    "MALE1"		"it-IT"
74
 
75
# Debug turns debugging on or off
76
# See speechd.conf for information where debugging information is stored
77
Debug 0