summaryrefslogtreecommitdiff
path: root/accessibility/flite/flite.rst
blob: d546382956b0d22bd495e5d6755d9f151c5c3b49 (plain)
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
.. RST source for flite(1) man page. Convert with:
..   rst2man.py flite.rst > flite.1
.. rst2man.py comes from the SBo development/docutils package.

.. |version| replace:: 2.0.0
.. |date| date::

======
flite
======

---------------------------------
a small simple speech synthesizer
---------------------------------

:Manual section: 1
:Manual group: SlackBuilds.org
:Authors: `Alan W. Black`; `Kevin Lorenzo`
:Date: |date|
:Version: |version|
:Copyright: See /usr/doc/flite-|version|/COPYING for full copyright information on flite.
            This man page written for the SlackBuilds.org project
            by B. Watson, and is licensed under the WTFPL.

SYNOPSIS
========

flite [*-options*] [*text/file*] [*wavefile*]

DESCRIPTION
===========

Converts text in *text/file* to a waveform in *wavefile*.

If *text/file* contains a space, it is treated as a literal
text string and spoken, and not as a file name. If *text/file*
is omitted or **-**, text will be read from standard input.

If *wavefile* is unspecified or **play**, the result is
played on the current systems audio device.  If *wavefile*
is **none**, the waveform is discarded (good for benchmarking).

Any other options must appear before *text/file* and/or *wavefile*.

The full documentation for **flite** can be read as a GNU
info file with the command **info flite**, or as HTML in
*/usr/doc/flite-|version|/html/index.html*.

OPTIONS
=======

.. notice the **-opt** *param* stuff? rst's option recognition
.. can't handle non-GNU-style options like -option (it thinks the
.. option is -o, and the ption is the parameter). So we have to help
.. it out a little.

--version   Output flite version number

-?, -h, --help
            Output usage string

-o WAVEFILE
            Explicitly set output filename

-f TEXTFILE
            Explicitly set input filename

-t TEXT     Explicitly set input textstring

-p PHONES   Explicitly set input textstring and synthesize as phones

**--set** *F=V*
            Set feature (guesses type)

**-s** *F=V*
            Set feature (guesses type)

**--seti** *F=V*
            Set int feature

**--setf** *F=V*
            Set float feature

**--sets** *F=V*
            Set string feature

**-ssml**   Read input text/file in ssml mode

-b          Benchmark mode

-l          Loop endlessly

**-voice** *NAME*
            Use voice *NAME* (*NAME* can be filename or url too)

**-voicedir** *NAME*
            Directory containing voice data

**-lv**
            List voices available

**-add_lex** *FILENAME*
            add lex addenda from *FILENAME*

**-pw**
            Print words

**-ps**
            Print segments

**-psdur**
            Print segments and their durations (end-time)

**-pr** *RelName*
            Print relation *RelName*

**-voicedump** *FILENAME*
            Dump selected (cg) voice to *FILENAME*

-v          Verbose mode

SEE ALSO
========

The flite homepage: http://www.festvox.org/flite/