File: README.html

package info (click to toggle)
freetts 1.2.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 65,244 kB
  • sloc: java: 21,305; xml: 1,340; sh: 969; lisp: 587; ansic: 241; makefile: 25; awk: 11
file content (169 lines) | stat: -rw-r--r-- 5,965 bytes parent folder | download | duplicates (4)
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--

/**
 * Copyright 2001,2003 Sun Microsystems, Inc.
 * 
 * See the file "license.terms" for information on usage and
 * redistribution of this file, and for a DISCLAIMER OF ALL 
 * WARRANTIES.
 */

-->

<html>
    <head><title>Setting up MBROLA for FreeTTS</title></head>
    <body>
        <center>
            <table bgcolor="#FFCC66" width="100%">
                <tr>
                    <td align=center width="100%">
	                <h1>Setting up MBROLA for FreeTTS</h1>
                    </td>
                </tr>
            </table>
        </center>

        <p>The aim of the MBROLA project, initiated by the TCTS Lab of
        the Faculte Polytechnique de Mons (Belgium), is to obtain a
        set of speech synthesizers for as many languages as possible,
        and provide them free for non-commercial applications.  The
        MBROLA source code is held tightly by its owners, but
        fortunately they provide standalone binaries for a large
        number of platforms.  In addition, a large number of diphone
        voice databases exist for many languages.</p>

        <p><b><font color="ff0000">NOTE:</font> FreeTTS support for
        MBROLA on the Windows platform has been troublesome in the
        past, but appears to have been fixed by the MBROLA team.
        Please refer to the 
        <a
        href="http://sourceforge.net/forum/forum.php?thread_id=1219083&forum_id=137669">FreeTTS Forum</a>
	for more information.</b></p>

        <p>Three US English voices exist, named us1 (female), us2
        (male) and us3 (male).  Thanks to the work of Marc Schroder,
        text-to-speech Researcher in the Language Technology Lab at
        DFKI, Saarbrucken, Germany, FreeTTS can use these voices.</p>

        <h3>Download and Install MBROLA Binaries</h3>
        <p>The MBROLA binaries and voice databases can be downloaded free
        for non-commercial, non-military use at:</p>

	<ul>
	    <p><a href="http://tcts.fpms.ac.be/synthesis/mbrola.html">
	    http://tcts.fpms.ac.be/synthesis/mbrola.html</a></p>
        </ul>

        <p>Decide on a base directory to put both MBROLA binary
        and MBROLA voice databases.  Let's assume this is
        /home/jim/mbrola.  Download and install the MBROLA binaries
        for your platform into this directory.  Also download and 
        install the us1, us2, and us3 binaries into this directory.
        When you are done, you should have a directory that looks 
        something like the following (sample taken from Mac OS X):</p>

        <pre>
        bash-2.05a$ ls -l /home/jim/mbrola
        total 184
        -rwxrwxrwx  1 jim staff  31686 Mar  6  2001 License.txt
        drwxrwxrwx  3 jim staff    102 Mar  5  2001 MbroliX.app
        -rwxrwxrwx  1 jim staff   1318 Mar  5  2001 ReadMe.rtf
        -rwxrwxrwx  1 jim staff   1044 Mar  5  2001 ReadMe.txt
        drwxr-xr-x  9 jim staff    306 Aug 28 17:04 distrib
        -rw-r--r--  1 jim staff      0 Aug 28 17:50 foo.raw
        lrwxr-xr-x  1 jim staff     17 Aug 28 17:50 mbrola -> mbrola-darwin-ppc
        -rwxr-xr-x  1 jim staff  47616 May  6  2002 mbrola-darwin-ppc
        drwxr-xr-x  8 jim staff    272 Aug 19 16:11 us1
        drwxr-xr-x  7 jim staff    238 Aug 19 16:11 us2
        drwxr-xr-x  7 jim staff    238 Aug 19 16:11 us3
        </pre>

        <p>Note that FreeTTS expects the MBROLA binary to be named "mbrola."
        As a result, you may need to rename the mbrola binary or create a
        symbolic link to it.  For example, on Mac OS X, the mbrola binary
        is named "mbrola-darwin-ppc."  Creating a symbolic link named "mbrola"
        that points to "mbrola-darwin-ppc" (as shown above) will allow FreeTTS 
        to find the mbrola binary.

	<p>Also make sure that both the link "mbrola" and the mbrola binary
	are executable. Using this example:

	<ul>
	<p><code>chmod a+x mbrola mbrola-darwin-ppc</code>
	</ul>

        <h3>Enable FreeTTS Support for MBROLA</h3> 
        <p>To enable FreeTTS support for MBROLA, merely copy
        mbrola/mbrola.jar to lib/mbrola.jar.  Then, whenever you run
        any FreeTTS application, specify the "mbrola.base" directory
        as a system property:</p>
        <ul>
            <p><code>java -Dmbrola.base=/home/jim/mbrola -jar
            bin/FreeTTSHelloWorld.jar mbrola_us1</code></p>
	</ul>

        <h3>Determining Available MBROLA Voices</h3> 
        <p>To get the names of the available MBROLA voices, run the
        mbrola.jar file:</p>
        <ul>
<pre>
java -Dmbrola.base=/home/jim/mbrola -jar lib/mbrola.jar
VoiceDirectory 'de.dfki.lt.freetts.en.us.MbrolaVoiceDirectory'

Name: mbrola_us1
        Description: MBROLA Voice us1
        Organization: mbrola
        Domain: general
        Locale: en_US
        Style: standard
        Gender: FEMALE
        Age: YOUNGER_ADULT
        Pitch: 180.0
        Pitch Range: 22.0
        Pitch Shift: 1.0
        Rate: 150.0
        Volume: 1.0


Name: mbrola_us2
        Description: MBROLA Voice us2
        Organization: mbrola
        Domain: general
        Locale: en_US
        Style: standard
        Gender: MALE
        Age: YOUNGER_ADULT
        Pitch: 115.0
        Pitch Range: 12.0
        Pitch Shift: 1.0
        Rate: 150.0
        Volume: 1.0


Name: mbrola_us3
        Description: MBROLA Voice us3
        Organization: mbrola
        Domain: general
        Locale: en_US
        Style: standard
        Gender: MALE
        Age: YOUNGER_ADULT
        Pitch: 125.0
        Pitch Range: 12.0
        Pitch Shift: 1.0
        Rate: 150.0
        Volume: 1.0
</pre>
        </ul>

        <hr>

        <p>See the <a href="../license.terms">license terms</a>
        and <a href="../acknowledgments.txt">acknowledgments</a>.
        <br>
        Copyright 2001,2003 Sun Microsystems, Inc.  All Rights
        Reserved.  Use is subject to license terms.</p>
    </body>
</html>