-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathangelotts-generic.conf
87 lines (67 loc) · 3.18 KB
/
angelotts-generic.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# AngeloTTS output module is based on the generic plugin for Speech
# Dispatcher. It means there is no C code written explicitly for
# this plugin, all the specifics are handled in this configuration
# and we call a simple command line client to perform the actual
# synthesis.
#
# WARNING: You will need to either rename the command epos-say in
# GenericExecuteString to what's the name of this utility on your
# system (it might be "say"), or (better) create a link epos-say
# somewhere in your path to the epos's say client.
# GenericExecuteSynth is the shell command that should be
# executed in order to say some message. This command must
# stop saying the message on SIGKILL, otherwise it's useless.
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
# which will be substituted for the appropriate value (you
# can modify this value, see other parameters).
# The command can be split into more lines, if necessary, using '\'.
# GenericExecuteSynth \
# "echo \'$DATA\' | speak-ng -v brazil-mbrola-1 -s 124 -p $PITCH $PUNCT -a 200 $@"
GenericExecuteSynth \
"echo \'$DATA\' | speak-ng -v mb/mb-br1 -s 124 -a 200 > /dev/null"
GenericCmdDependency "speak-ng"
GenericCmdDependency "mbrola"
#/usr/bin/pacat --rate=16000 --channels=1 > /dev/null"
# GenericStripPunctChars is a list (enclosed in doublequotes) of
# all the characters that should be replaced by whitespaces in
# order not to be badly handled by the output module or misinterpreted
# by shell.
# GenericStripPunctChars "~@#$%^&*+=|\\/<>[]_`"
GenericStripPunctChars "~@#$%&|\\<>[]_"
# AddVoice specifies which $VOICE string should be assigned to
# each language and symbolic voice name. All the voices you want
# to use must be specified here.
# Nova voz
AddVoice "pt" "male1" "angelotts"
# If the language you need to pass in $LANG is different
# from the standard ISO language code, you can specify
# which string to use instead. If you wish to use
# other than ISO charset for the specified language,
# you can add it's name (as accepted by iconv) as a
# third parameter in doublequotes.
GenericLanguage "pt" "pt" "utf-8"
# These parameters set _rate_ and _pitch_ conversion. This is
# part of the core of the definition of this generic output
# module for this concrete synthesizer, it's not intended to
# be modified by common users.
# The resulting rate (or pitch) has the form:
# (speechd_rate * GenericRateMultiply) + GenericRateAdd
# while speechd_rate is a value between -100 (lowest) and +100 (highest)
# You have to define some meaningful conversion for each synthesizer
GenericRateAdd 1
GenericPitchAdd 1
#GenericVolumeAdd 100
# (These values are multiplied by 100, because DotConf currently
# doesn't support floats. So you can write 0.85 as 85 and so on.)
GenericRateMultiply -1
GenericPitchMultiply 1
#GenericVolumeMultiply 50
# If the client program can't handle floats, you will have to
# use these two options to force integers as the parameters
# 1 means force integers, 0 means do nothing (write floats).
#GenericRateForceInteger 0
#GenericPitchForceInteger 0
#GenericVolumeForceInteger 0
# Debug turns debugging on or off
# See speechd.conf for information where debugging information is stored
Debug 0