You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+40-41Lines changed: 40 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,42 @@ It contains information about compiling and developing the MaryTTS sources.
17
17
The code comes under the Lesser General Public License LGPL version 3 -- see LICENSE.md for details.
18
18
19
19
20
+
## Running MaryTTS
21
+
22
+
Run `./gradlew run` (or `gradlew.bat run` on Windows) to start a MaryTTS server.
23
+
Then access it at http://localhost:59125 using your web browser.
24
+
25
+
26
+
## Downloading and installing voices
27
+
28
+
Run `./gradlew runInstallerGui` to start an installer GUI to download and install more voices.
29
+
A running MaryTTS server needs to be restarted before the new voices can be used.
30
+
31
+
32
+
## Building MaryTTS
33
+
34
+
Run `./gradlew build`.
35
+
This will compile and test all modules, and create the output for each under `build/`.
36
+
37
+
Note that previously, MaryTTS v5.x was built with Maven. Please refer to the [**5.x branch**](https://github.com/marytts/marytts/tree/5.x).
38
+
39
+
40
+
## Packaging MaryTTS
41
+
42
+
Run `./gradlew distZip` or `./gradlew distTar` to build a distribution package under `build/distributions`.
43
+
You can also "install" an unpacked distribution directly into `build/install` by running `./gradlew installDist`.
44
+
45
+
The distribution contains all the files required to run a standalone MaryTTS server instance, or to download and install more voices.
46
+
The scripts to run the server or installer GUI can be found inside the distribution in the `bin/` directory.
47
+
48
+
20
49
## Using MaryTTS in your own Java projects
21
50
22
-
### Adding the MaryTTS to your dependencies
51
+
The easiest way to use MaryTTS in your own Java projects is to declare a dependency on a relevant MaryTTS artifact, such as the default US English HSMM voice:
23
52
24
-
The easiest way to use MaryTTS in your own Java projects is to declare a dependency on a relevant MaryTTS artifact:
53
+
### Maven
25
54
26
-
- in the`pom.xml` for Maven:
55
+
Add to your`pom.xml`:
27
56
```xml
28
57
<repositories>
29
58
<repository>
@@ -39,19 +68,22 @@ The easiest way to use MaryTTS in your own Java projects is to declare a depende
@@ -67,38 +99,6 @@ If you want to use MaryTTS for other programming languages (like python for exam
67
99
3. query synthesis on the server
68
100
69
101
70
-
### Compiling MaryTTS on the command line
71
-
72
-
MaryTTS v5.x builds with Maven 3.0.x.
73
-
If it is not installed on your system, see
74
-
http://maven.apache.org/download.html or install it using your favorite package manager.
75
-
76
-
Compiling the MARY system itself can be done using
77
-
78
-
mvn install
79
-
80
-
in the top-level folder.
81
-
82
-
This will compile the system, run all unit and integration tests, package the system to the extent possible, and install it in your local maven repository.
83
-
84
-
85
-
### Running the freshly built MaryTTS server
86
-
87
-
After a successful compile, you should find a ready-to-run unpacked installation of the MaryTTS server system in `target/marytts-<VERSION>`.
88
-
Run the server as
89
-
90
-
target/marytts-<VERSION>/bin/marytts-server
91
-
92
-
Then connect to it with your browser at http://localhost:59125 or using the `marytts-client` in the same folder.
93
-
94
-
The runtime system is also available as deployable packages:
95
-
96
-
target/marytts-<VERSION>.zip
97
-
98
-
Installation is easy:
99
-
unpack anywhere, and run the scripts in the `bin/` folder.
100
-
101
-
102
102
### Synthesize speech using the server
103
103
104
104
Synthesizing speech, using the server, is pretty easy.
0 commit comments