Code Monkey home page Code Monkey logo

marytts-installer's Introduction

MaryTTS Installer

A standalone cloud-based installer and wrapper for MaryTTS

Download

Just download the latest source code package from the Releases page (the source code is the installer!) and unpack it anywhere on your system.

Usage

The MaryTTS Installer can be used on the command line, by changing to the directory where it was unpacked and running tasks, for example to run install:cmu-slt, do:

OSX and Linux

$ ./marytts install:cmu-slt

Windows

> marytts install:cmu-slt

The Installer can also be launched with a Graphical User Interface (GUI) by adding the --gui option:

marytts --gui

First-time setup

The MaryTTS Installer uses Gradle, and will first automatically download it if it isn't already installed.

Before MaryTTS can be used, one or more voices must be installed from the cloud. This is done by running an install task, for example, to install the cmu-slt voice, change into the directory where you unpacked the installer and run

marytts install:cmu-slt

If no voices are installed, the cmu-slt-hsmm voice will be installed by default.

Common tasks

Install a voice

marytts install:cmu-slt

or

marytts cmu-slt:install

or simply

marytts cmu-slt

List available voices

marytts list

Show details for an available voice

marytts cmu-slt:info

Uninstall an installed voice

marytts cmu-slt:uninstall

Note that this is effectively the same as simply removing the corresponding voice files from the installed directory.

Install all voices

marytts 'install:*'

Run MaryTTS

marytts server

or simply

marytts

will start a local MaryTTS server with all installed voices.

Verbose output

marytts --info

or simply

marytts -i

will print INFO level log messages from MaryTTS (and Gradle) to the console.

To get DEBUG level log output, run

marytts --debug

or simply

marytts -d

Of course it is also possible to customize the MaryTTS server's environment by specifying arbitrary properties, just like when invoking java directly.

Download cache

All downloaded artifacts for MaryTTS and its voices are cached in the local Gradle home ($HOME/.gradle by default) so that they don't have to be downloaded again if a voice is uninstalled and then installed again, or if MaryTTS is also installed into additional directories. Note that this cache also stores the packaged data files for unit-selection voices, which can be several hundred MB in size.

Cache cleaning

In order to free up storage space, it is possible to delete the cached files for an individual voice, like so:

marytts cmu-slt:purge

Of course this means that any subsequent installation of the corresponding voice will require downloading the artifacts again. Note that purging a voice's cached files will not uninstall it.

Custom cache location

It is possible to customize the location of the download cache by running the install tasks with the --gradle-user-home (or simply -g) parameter; i.e., to use some (possibly new) directory named download as the download cache, run

marytts --gradle-user-home download install:cmu-slt

or simply

marytts -g download cmu-slt

Note that this will also first download Gradle itself into the custom download cache.

marytts-installer's People

Contributors

psibre avatar jonathanpoitz avatar seblemaguer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.