Skip to content

Commit abea411

Browse files
committed
update README
1 parent 6652e9f commit abea411

File tree

1 file changed

+40
-41
lines changed

1 file changed

+40
-41
lines changed

README.md

Lines changed: 40 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,42 @@ It contains information about compiling and developing the MaryTTS sources.
1717
The code comes under the Lesser General Public License LGPL version 3 -- see LICENSE.md for details.
1818

1919

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+
2049
## Using MaryTTS in your own Java projects
2150

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:
2352

24-
The easiest way to use MaryTTS in your own Java projects is to declare a dependency on a relevant MaryTTS artifact:
53+
### Maven
2554

26-
- in the `pom.xml` for Maven:
55+
Add to your `pom.xml`:
2756
```xml
2857
<repositories>
2958
<repository>
@@ -39,19 +68,22 @@ The easiest way to use MaryTTS in your own Java projects is to declare a depende
3968
</dependency>
4069
</dependencies>
4170
```
42-
- in the `build.gradle` for Gradle
71+
72+
### Gradle
73+
74+
Add to your `build.gradle`:
4375
```groovy
4476
repositories {
4577
jcenter()
4678
}
4779
4880
dependencies {
49-
compile 'de.dfki.mary:marytts:5.2'
81+
compile group: 'de.dfki.mary', name: 'voice-cmu-slt-hsmm', version: '5.2'
5082
}
5183
```
5284

5385

54-
### Synthesizing speech
86+
## Synthesizing speech
5587

5688
Text to wav basic examples are proposed in this repository
5789
- Maven: https://github.com/marytts/marytts-txt2wav/tree/maven
@@ -67,38 +99,6 @@ If you want to use MaryTTS for other programming languages (like python for exam
6799
3. query synthesis on the server
68100

69101

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-
102102
### Synthesize speech using the server
103103

104104
Synthesizing speech, using the server, is pretty easy.
@@ -108,9 +108,7 @@ Examples are proposed :
108108
- shell: https://github.com/marytts/marytts-txt2wav/tree/sh
109109

110110

111-
## Developing MaryTTS
112-
113-
### Working on MaryTTS code
111+
## Contributing
114112

115113
The recommended workflow for making contributions to the MaryTTS source code is to follow the GitHub model:
116114

@@ -129,4 +127,5 @@ Have a look at the [GitHub documentation](http://help.github.com/) for further d
129127
Wiki pages are available to help you to configure your IDE to develop MaryTTS.
130128
The following IDEs have been tested and documented:
131129

130+
- IntelliJ IDEA
132131
- Eclipse: https://github.com/marytts/marytts/wiki/Eclipse

0 commit comments

Comments
 (0)