INACTIVE - MARY TTS -- an open-source, multilingual text-to-speech synthesis system written in pure java
Перейти к файлу
Marc Schröder 72d57b8f8e More robust dealing with failed downloads -- simply try next location until one works or we're out of options. 2012-05-07 14:37:09 +02:00
doc Build an installer package as well as a live install below target -- see new Run section in README.txt for details. 2011-06-01 12:42:39 +00:00
download Fix for ticket:304: Added support for some frequent tokens containing apostrophes: 2010-08-25 12:34:46 +00:00
lib Improved HMMVoiceCompiler to include the settings used during configuration and training. Added in configure a variable for the filters file name. Commented output line in get_str.tcl. Under testing. 2011-12-14 14:37:54 +00:00
log Cleanliness 2012-01-16 08:54:13 +01:00
marytts-assembly Add explicit relative path: the default project's parent 2012-04-26 23:16:57 +02:00
marytts-builder Enable voice converter to deal with HMM-based voices with vocalization support. 2012-05-03 14:57:34 +02:00
marytts-client Reworked MaryInterface as follows: 2012-04-23 16:16:40 +02:00
marytts-common Reworked MaryInterface as follows: 2012-04-23 16:16:40 +02:00
marytts-dependencies quick fix for #9: packaged jtok with dependencies by running 2012-02-28 15:07:46 +01:00
marytts-jungle Extracted MaryInterface interface and documented some simple use cases. 2012-04-18 13:42:14 +02:00
marytts-lang-de Extracted MaryInterface interface and documented some simple use cases. 2012-04-18 13:42:14 +02:00
marytts-lang-en Added implementation of RemoteMaryInterface 2012-04-19 10:31:40 +02:00
marytts-lang-it Make maven warnings happy by not duplicating groupId in pom.xml. 2012-04-12 10:09:18 +02:00
marytts-lang-ru Make maven warnings happy by not duplicating groupId in pom.xml. 2012-04-12 10:09:18 +02:00
marytts-lang-sv remove cap directory and references to it it sv.config 2012-04-17 10:56:15 +02:00
marytts-lang-te Make maven warnings happy by not duplicating groupId in pom.xml. 2012-04-12 10:09:18 +02:00
marytts-lang-tr Make maven warnings happy by not duplicating groupId in pom.xml. 2012-04-12 10:09:18 +02:00
marytts-redstart Tiny fixes to make redstart work. Resolves issue #13. 2012-04-16 16:39:24 +02:00
marytts-runtime More robust dealing with failed downloads -- simply try next location until one works or we're out of options. 2012-05-07 14:37:09 +02:00
marytts-server Added implementation of RemoteMaryInterface 2012-04-19 10:31:40 +02:00
marytts-signalproc fix for #6: removed eclipse plugin config files 2012-02-17 21:24:34 +01:00
marytts-transcription Make maven warnings happy by not duplicating groupId in pom.xml. 2012-04-12 10:09:18 +02:00
tmp svn cosmetics 2010-06-15 12:32:35 +00:00
user-dictionaries change in userdict-sv.txt 2012-04-17 11:01:26 +02:00
user-examples Reworked MaryInterface as follows: 2012-04-23 16:16:40 +02:00
voice-cmu-slt-hsmm Bugfix: replace any existing voice config file with the new content, rather than appending to it... 2012-05-03 15:42:19 +02:00
.gitignore extended PraatPitchTier to read both text formats written by Praat 2011-08-11 15:00:31 +00:00
.svnauthors added .svnauthors 2011-08-10 13:17:19 +00:00
LICENSE.txt Build an installer package as well as a live install below target -- see new Run section in README.txt for details. 2011-06-01 12:42:39 +00:00
README.md Added a readme section on how to use MARY TTS in your own code. 2012-04-24 15:44:45 +02:00
gpl-3.0.txt And added the license text itself. 2009-01-23 10:21:11 +00:00
lgpl-3.0.txt And added the license text itself. 2009-01-23 10:21:11 +00:00
pom.xml Demo projects showing how to use the MaryInterface APIs and how to build your own projects with Maven dependencies. 2012-04-19 17:04:40 +02:00

README.md

MARY TTS README

This is the source code repository for the multilingual open-source MARY text-to-speech platform (MARY TTS). MARY TTS is a client-server system written in pure Java, so it runs on many platforms.

For a downloadable package ready for use, see http://mary.dfki.de/download.

For documentation on using MARY TTS from various angles, see http://mary.dfki.de and http://mary.opendfki.de . In particular, the latter contains documentation on how to build your own language components and voices.

This README is part of the the MARY TTS source code repository. It contains information about compiling and developing the MARY TTS sources.

The code comes under the Lesser General Public License LGPL version 3 -- see LICENSE.txt for details.

Working on MARY TTS code

The recommended workflow for making contributions to the MARY TTS source code is to follow the github model:

  1. fork the MARY TTS repository into your own space on github, by navigating to https://github.com/marytts/marytts and clicking "fork" (of course you need a github account);

  2. use the git clone, commit, and push commands to make modifications on your own marytts repository; in this process, make sure to git pull upstream master repeatedly to stay in sync with latest developments on the master repo;

  3. when you think a reusable contribution is ready, issue a "pull request" on github to allow for easy merging into the master repository.

Have a good look at the github documentation if any of the words here seem unfamiliar.

Compiling MARY TTS on the command line

MARY TTS builds with Maven 3.0.x. If it is not installed on your system, you can get it from here: http://maven.apache.org/download.html

Compiling the MARY system itself can be done using

mvn install

in the top-level folder. 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.

Running the freshly built MARY TTS server

After a successful compile, you should find a ready-to-run unpacked install of the MARY TTS server system in target/marytts-<VERSION>. Run the server as

target/marytts-<VERSION>/bin/marytts-server.sh

Then connect to it with your browser at http://localhost:59125 or using the marytts-client.sh in the same folder.

The runtime system is also available as deployable packages:

target/marytts-<VERSION>.zip
target/marytts-<VERSION>.tar.gz

Installation is easy: Unpack anywhere, and run the scripts in the bin/ folder.

Using the new languages support and voice building tools

Compiling the MARY TTS system creates a folder containing the MARY TTS build tools, in

target/marytts-builder-<VERSION>/

Shell scripts for the available tools are provided in the bin/ subfolder.

Using MARY TTS in your own Java projects

The easiest way to get all dependencies right is to use Maven. The example projects below user-examples should be sufficient to get you started.

The pom.xml file in each example project copies the required jar files and sets the classpath of the project jar file such that it can be simply started as follows:

java -jar user-examples/example-embedded/target/example-embedded-5.0-SNAPSHOT.jar

Developing MARY TTS in Eclipse

The easiest and therefore recommended way to edit MARY TTS source files is using Eclipse IDE for Java developers. We have tested with Eclipse Indigo, feel free to experiment with other versions.

Two relevant Eclipse plugins which come pre-bundled with Eclipse Indigo for Java developers are M2E Maven Eclipse Integration and Egit Eclipse Git Source code management.

M2E can be used to import the Maven projects into an Eclipse workspace as follows.

  1. Start with an empty workspace, from the "File" menu select "Import..." and open the "Maven" menu item.

  2. Import the maven projects as eclipse projects:

    a. If you have previously cloned the git repo, select "Existing Maven Projects", choose the root marytts directory as root, and select the subprojects you want to import.

    b. If you have not yet cloned the git repo, select "Checkout Maven projects from SCM", choose SCM method git (you may have to follow the link "install SCM connectors from the m2e marketplace" and install m2e-egit), and enter the git repository location as download link (e.g., git@github.com:marytts/marytts.git to directly clone the master repo, but see "Working on MARY TTS code" above for good practice).

  3. To make the Eclipse projects aware of the version control system, select all of them, right-click and select "Team"->"Share projects". In the popup window, select "Git", click Next, then check the checkbox "Use or create repository in parent folder of project", and click "Finish".

This should get you up and running.

You are of course free to edit the source code using other tools. Just be aware that MARY TTS requires Java 6, and source file encoding must be set to UTF-8.