{"data":{"slug":"marytts-marytts","name":"marytts","tagline":"MARY TTS -- an open-source, multilingual text-to-speech synthesis system written in pure java","github_url":"https://github.com/marytts/marytts","owner":"marytts","repo":"marytts","owner_avatar_url":"https://avatars.githubusercontent.com/u/1397306?v=4","primary_language":"Java","stars":2580,"forks":770,"topics":["java","speech-synthesis","text-to-speech","tts"],"archived":false,"github_pushed_at":"2025-01-17T18:26:22+00:00","maintenance_label":"Dormant","url":"https://www.graphcanon.com/tools/marytts-marytts","markdown_url":"https://www.graphcanon.com/tools/marytts-marytts.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/marytts-marytts","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=marytts-marytts","description":"MARY TTS -- an open-source, multilingual text-to-speech synthesis system written in pure java","homepage_url":"https://marytts.github.io/","license":"Other","open_issues":134,"watchers":126,"ai_summary":null,"readme_excerpt":"# MaryTTS\n\nThis is the source code repository for the multilingual open-source MARY text-to-speech platform (MaryTTS).\nMaryTTS is a client-server system written in pure Java, so it runs on many platforms.\n\n**For a downloadable package ready for use, see [the releases page](https://github.com/marytts/marytts/releases).**\n\nOlder documentation can also be found at https://github.com/marytts/marytts-wiki, http://mary.dfki.de and https://mary.opendfki.de.\n\nThis README is part of the the MaryTTS source code repository.\nIt contains information about compiling and developing the MaryTTS sources.\n\nThe code comes under the Lesser General Public License LGPL version 3 -- see LICENSE.md for details.\n\n\n## Running MaryTTS\n\nRun `./gradlew run`  (or `gradlew.bat run` on Windows) to start a MaryTTS server.\nThen access it at http://localhost:59125 using your web browser.\n\nIf you want to start a MaryTTS on a different address and port, you can use the following options:\n\n```sh\n./gradlew run -Dsocket.port=5920 -Dsocket.addr=0.0.0.0 --info\n```\nwhere 5920 is the new port and 0.0.0.0 the new address. In case of the address being 0.0.0.0, all the interfaces will be listened.\n\nBy using the option `--info`, you set the logger of `gradle` *AND* MaryTTS at the level INFO. By using `--debug`, you set the level to DEBUG.\n\nIt is also possible to set the MaryTTS logger level to `INFO` or `DEBUG` by defining the system variable `log4j.logger.marytts`.\n\n## Downloading and installing voices\n\nRun `./gradlew runInstallerGui` to start an installer GUI to download and install more voices.\nA running MaryTTS server needs to be restarted before the new voices can be used.\n\n\n## Building MaryTTS\n\nRun `./gradlew build`.\nThis will compile and test all modules, and create the output for each under `build/`.\n\nNote that previously, MaryTTS v5.x was built with Maven. Please refer to the [**5.x branch**](https://github.com/marytts/marytts/tree/5.x).\n\n\n## Packaging MaryTTS\n\nRun `./gradlew distZip` or `./gradlew distTar` to build a distribution package under `build/distributions`.\nYou can also \"install\" an unpacked distribution directly into `build/install` by running `./gradlew installDist`.\n\nThe distribution contains all the files required to run a standalone MaryTTS server instance, or to download and install more voices.\nThe scripts to run the server or installer GUI can be found inside the distribution in the `bin/` directory.\n\n\n##  Using MaryTTS in your own Java projects\n\nThe 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:\n\n### Maven\n\nAdd to your `pom.xml`:\n```xml\n<repositories>\n  <repository>\n    <url>https://raw.githubusercontent.com/DFKI-MLT/Maven-Repository/main</url>\n  </repository>\n</repositories>\n\n<dependencies>\n  <dependency>\n    <groupId>de.dfki.mary</groupId>\n    <artifactId>voice-cmu-slt-hsmm</artifactId>\n    <version>5.2.1</version>\n  </dependency>\n</dependencies>\n```\n\n### Gradle\n\nAdd to your `build.gradle`:\n```groovy\nrepositories {\n   mavenCentral()\n\n   exclusiveContent {\n      forRepository {\n         maven {\n            url 'https://raw.githubusercontent.com/DFKI-MLT/Maven-Repository/main'\n         }\n      }\n      filter {\n         includeGroup 'de.dfki.lt.jtok'\n      }\n   }\n}\n\ndependencies {\n   implementation group: 'de.dfki.mary', name: 'voice-cmu-slt-hsmm', version: '5.2.1'\n}\n```\n\n\n## Synthesizing speech\n\nText to wav basic examples are proposed in this repository\n- Maven: https://github.com/marytts/marytts-txt2wav/tree/maven\n- Gradle: https://github.com/marytts/marytts-txt2wav/tree/gradle\n\n\n## Using MaryTTS for other programming languages\n\nIf you want to use MaryTTS for other programming languages (like python for example), you need to achieve 3 steps\n\n1. compiling marytts\n2. starting the server\n3. query synthesis on the server\n\n\n### Synthesize speech using the server\n\nSynthesizing speech, using the server, is pretty easy.\nYou need to generate proper","github_created_at":"2011-12-20T16:44:48+00:00","created_at":"2026-07-11T12:08:41.850018+00:00","updated_at":"2026-07-11T12:08:52.209448+00:00","categories":[{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"},{"slug":"speech-audio","name":"Speech & Audio","url":"https://www.graphcanon.com/categories/speech-audio","markdown_url":"https://www.graphcanon.com/categories/speech-audio.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/speech-audio"}],"tags":[{"slug":"text-to-speech","name":"text-to-speech"},{"slug":"tts","name":"tts"},{"slug":"java","name":"java"},{"slug":"speech-synthesis","name":"speech-synthesis"}],"trust":{"provenance":{"is_fork":false,"github_id":3020895,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-07-11T12:08:42.608Z","maintenance":{"label":"Dormant","score":18,"methodology":"github_public_v1","releases_90d":0,"days_since_push":539,"last_release_at":"2022-05-25T12:20:56Z"},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T12:08:46.944Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-07-11T12:08:46.557Z"},"languages":{"value":["java"],"source":"github.language","observed_at":"2026-07-11T12:08:46.557Z"},"license_spdx":{"value":"Other","source":"github.license","observed_at":"2026-07-11T12:08:46.557Z"}}}}