Debian Codegraph @

src/speak-ng.1.ronn

raw
1 # speak-ng - A multi-lingual software speech synthesizer.
2
3 ## SYNOPSIS
4
5 __speak-ng__ [<options>] [<&lt;words&gt;>]
6
7 ## DESCRIPTION
8
9 __speak-ng__ is a software speech synthesizer for English, and some other
10 languages.
11
12 ## OPTIONS
13
14 * `-h`, `--help`:
15 Show summary of options.
16
17 * `--version`:
18 Prints the espeak library version and the location of the espeak voice
19 data.
20
21 * `-f <text file>`:
22 Text file to speak.
23
24 * `--stdin`:
25 Read text input from stdin instead of a file.
26
27 If neither -f nor --stdin are provided, &lt;words&gt; are spoken, or if no
28 words are provided then text is spoken from stdin a line at a time.
29
30 * `-q`:
31 Quiet, don't produce any speech (may be useful with -x).
32
33 * `-a <integer>`:
34 Amplitude, 0 to 200, default is 100.
35
36 * `-g <integer>`:
37 Word gap. Pause between words, units of 10ms at the default speed.
38
39 * `-k <integer>`:
40 Indicate capital letters with: 1=sound, 2=the word "capitals", higher
41 values = a pitch increase (try -k20).
42
43 * `-l <integer>`:
44 Line length. If not zero (which is the default), consider lines less than
45 this length as end-of-clause.
46
47 * `-p <integer>`:
48 Pitch adjustment, 0 to 99, default is 50.
49
50 * `-s <integer>`:
51 Speed in words per minute, default is 175.
52
53 * `-v <voice name>`:
54 Use voice file of this name from espeak-ng-data/voices. A variant can be
55 specified using <voice>+<variant>, such as af+m3.
56
57 * `-w <wave file name>`:
58 Write output to this WAV file, rather than speaking it directly.
59
60 * `--split=<minutes>`:
61 Used with `-w` to split the audio output into &lt;minutes&gt; recorded
62 chunks.
63
64 * `-b`:
65 Input text encoding, 1=UTF8, 2=8 bit, 4=16 bit.
66
67 * `-m`:
68 Indicates that the text contains SSML (Speech Synthesis Markup Language)
69 tags or other XML tags. Those SSML tags which are supported are
70 interpreted. Other tags, including HTML, are ignored, except that some HTML
71 tags such as &lt;hr&gt; &lt;h2&gt; and &lt;li&gt; ensure a break in the
72 speech.
73
74 * `-x`:
75 Write phoneme mnemonics to stdout.
76
77 * `-X`:
78 Write phonemes mnemonics and translation trace to stdout. If rules files
79 have been built with --compile=debug, line numbers will also be displayed.
80
81 * `-z`:
82 No final sentence pause at the end of the text.
83
84 * `--stdout`:
85 Write speech output to stdout.
86
87 * `--compile=voicename`:
88 Compile the pronunciation rules and dictionary in the current directory.
89 =&lt;voicename&lt; is optional and specifies which language is compiled.
90
91 * `--compile-debug=voicename`:
92 Compile the pronunciation rules and dictionary in the current directory as
93 above, but include line numbers, that get shown when -X is used.
94
95 * `--ipa`:
96 Write phonemes to stdout using International Phonetic Alphabet. --ipa=1 Use
97 ties, --ipa=2 Use ZWJ, --ipa=3 Separate with _.
98
99 * `--tie=<character>`:
100 The character to use to join multi-letter phonemes in -x and --ipa output.
101
102 * `--path=<path>`:
103 Specifies the directory containing the espeak-ng-data directory.
104
105 * `--pho`:
106 Write mbrola phoneme data (.pho) to stdout or to the file in --phonout.
107
108 * `--phonout=<filename>`:
109 Write output from -x -X commands and mbrola phoneme data to this file.
110
111 * `--punct="<characters>"`:
112 Speak the names of punctuation characters during speaking. If
113 =&lt;characters&gt; is omitted, all punctuation is spoken.
114
115 * `--sep=<character>`:
116 The character to separate phonemes from the -x and --ipa output.
117
118 * `--voices[=<language code>]`:
119 Lists the available voices. If =&lt;language code&gt; is present then only
120 those voices which are suitable for that language are listed.
121
122 * `--voices=<directory>`:
123 Lists the voices in the specified subdirectory.
124
125 ## EXAMPLES
126
127 * `speak-ng "This is a test"`:
128 Speak the sentence "This is a test" using the default English voice.
129
130 * `speak-ng -f hello.txt`:
131 Speak the contents of hello.txt using the default English voice.
132
133 * `cat hello.txt | speak-ng`:
134 Speak the contents of hello.txt using the default English voice.
135
136 * `speak-ng -x hello`:
137 Speak the word "hello" using the default English voice, and print the
138 phonemes that were spoken.
139
140 * `speak-ng -ven-us "[[h@'loU]]"`:
141 Speak the phonemes "h@'loU" using the American English voice.
142
143 * `speak-ng --voices`:
144 List all voices supported by eSpeak.
145
146 * `speak-ng --voices=en`:
147 List all voices that speak English (`en`).
148
149 * `speak-ng --voices=mb`:
150 List all voices using the MBROLA voice synthesizer.
151
152 ## AUTHOR
153
154 eSpeak NG is maintained by Reece H. Dunn <[email protected]>. It is based on
155 eSpeak by Jonathan Duddington <[email protected]>.
156
157 This manual page is based on the eSpeak page written by Luke Yelavich
158 <[email protected]> for the Ubuntu project.