Debian Codegraph @

config/modules/mimic3-generic.conf

raw
1 # The mimic3-generic 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 # Debug turns debugging on or off
8 # See speechd.conf for information where debugging information is stored
9 Debug 0
10
11 # IMPORTANT: The audio output method relies on an audio playback
12 # utility (play, aplay, paplay for OSS, ALSA or Pulse)
13 # being installed. If this is not the case, consider installing it
14 # or replace the $PLAY_COMMAND string in the GenericExecuteString below
15 # with play, paplay or similar.
16 #
17 # GenericExecuteSynth is the shell command that should be
18 # executed in order to say some message. This command must
19 # stop saying the message on SIGKILL, otherwise it's useless.
20 # You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
21 # which will be substituted for the appropriate value (you
22 # can modify this value, see other parameters).
23 # This line uses the command curl, so you might need to install
24 # curl if it isn't already installed.
25 # The command can be split into more lines, if necessary, using '\'.
26 GenericExecuteSynth \
27 "printf %s \'$DATA\' | mimic3 --remote --voice \'$VOICE\' --stdout | $PLAY_COMMAND"
28
29 GenericCmdDependency "mimic3"
30 GenericSoundIconFolder "/usr/share/sounds/sound-icons/"
31
32 # The following three items control punctuation levels None, Some, and All.
33 # Each of these values will be substituted into the $PUNCT variable depending
34 # on the value passed to speech dispatcher from applications.
35 # Note that if an empty string is specified, then $PUNCT will be blank
36 # which is a default situation for espeak.
37
38 GenericPunctNone ""
39 GenericPunctSome "--punct=\"()[]{};:\""
40 GenericPunctMost "--punct=\"()[]{};:\""
41 GenericPunctAll "--punct"
42
43 # GenericStripPunctChars is a list (enclosed in doublequotes) of
44 # all the characters that should be replaced by whitespaces in
45 # order not to be badly handled by the output module or misinterpreted
46 # by shell.
47 #GenericStripPunctChars ""
48
49 # If the language you need to pass in $LANGUAGE is different
50 # from the standard ISO language code, you can specify
51 # which string to use instead. If you wish to use
52 # other than ISO charset for the specified language,
53 # you can add it's name (as accepted by iconv) as a
54 # third parameter in doublequotes, or use GenericDefaultCharset
55 # to specify it
56
57 #GenericLanguage "en" "en_GB" "utf-8"
58 #GenericLanguage "en" "en_US" "utf-8"
59 #GenericDefaultCharset "utf-8"
60
61 # AddVoice specifies which $VOICE string should be assigned to
62 # each language and symbolic voice name. All the voices you want
63 # to use must be specified here. This list will likely not be
64 # up-to-date, please check your mimic3 installation and add the voices
65 # you want to use.
66
67 AddVoice "af" "FEMALE1" "af_ZA/google-nwu_low"
68 AddVoice "bn" "FEMALE1" "bn/multi_low"
69 AddVoice "de" "MALE1" "de_DE/thorsten_low"
70 AddVoice "de" "MALE2" "de_DE/thorsten-emotion_low"
71 AddVoice "de" "MALE3" "de_DE/m-ailabs_low"
72 AddVoice "el" "FEMALE1" "el_GR/rapunzelina_low"
73 AddVoice "en" "MALE1" "en_UK/apope_low"
74 AddVoice "en" "MALE1" "en_US/hifi-tts_low"
75 AddVoice "en" "FEMALE1" "en_US/ljspeech_low"
76 AddVoice "en" "MALE2" "en_US/m-ailabs_low"
77 AddVoice "en" "MALE3" "en_US/cmu-arctic_low"
78 AddVoice "en" "FEMALE2" "en_US/vctk_low"
79 AddVoice "es" "MALE1" "es_ES/carlfm_low"
80 AddVoice "es" "MALE2" "es_ES/m-ailabs_low"
81 AddVoice "fa" "FEMALE1" "fa/haaniye_low"
82 AddVoice "fi" "MALE1" "fi_FI/harri-tapani-ylilammi_low"
83 AddVoice "fr" "FEMALE1" "fr_FR/m-ailabs_low"
84 AddVoice "fr" "FEMALE2" "fr_FR/siwis_low"
85 AddVoice "fr" "MALE1" "fr_FR/tom_low"
86 AddVoice "gu" "FEMALE1" "gu_IN/cmu-indic_low"
87 AddVoice "ha" "MALE1" "ha_NE/openbible_low"
88 AddVoice "hu" "FEMALE1" "hu_HU/diana-majlinger_low"
89 AddVoice "it" "MALE1" "it_IT/mls_low"
90 AddVoice "it" "MALE2" "it_IT/riccardo-fasol_low"
91 AddVoice "jv" "MALE1" "jv_ID/google-gmu_low"
92 AddVoice "ko" "FEMALE1" "ko_KO/kss_low"
93 AddVoice "ne" "FEMALE1" "ne_NP/ne-google_low"
94 AddVoice "nl" "MALE1" "nl/bart-de-leeuw_low"
95 AddVoice "nl" "MALE2" "nl/flemishguy_low"
96 AddVoice "nl" "FEMALE1" "nl/nathalie_low"
97 AddVoice "nl" "MALE3" "nl/pmk_low"
98 AddVoice "nl" "MALE4" "nl/rdh_low"
99 AddVoice "pl" "FEMALE1" "pl_PL/m-ailabs_low"
100 AddVoice "ru" "FEMALE1" "ru_RU/multi_low"
101 AddVoice "sw" "MALE1" "sw/lanfrica_low"
102 AddVoice "te" "MALE1" "te_IN/cmu-indic_low"
103 AddVoice "tn" "FEMALE1" "tn_ZA/google-nwu_low"
104 AddVoice "uk" "MALE1" "uk_UK/m-ailabs_low"
105 AddVoice "vi" "FEMALE1" "vi_VN/vais1000_low"
106 AddVoice "to" "MALE1" "yo/openbible_low"
107
108 # DefaultVoice specifies which $VOICE string should be used if no voice is
109 # specified otherwise.
110
111 DefaultVoice "en_UK/apope_low"
112
113 # Copyright (C) 2018 Florian Steinhardt <[email protected]>
114 # Copyright (C) 2022, 2025 Samuel Thibault <[email protected]>
115 #
116 # This program is free software; you can redistribute it and/or modify it under
117 # the terms of the GNU General Public License as published by the Free Software
118 # Foundation; either version 2 of the License, or (at your option) any later
119 # version.
120 #
121 # This program is distributed in the hope that it will be useful, but WITHOUT ANY
122 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
123 # PARTICULAR PURPOSE. See the GNU General Public License for more details (file
124 # COPYING in the root directory).
125 #
126 # You should have received a copy of the GNU General Public License
127 # along with this program. If not, see <https://www.gnu.org/licenses/>.