Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| marytts [2016/02/22 14:22] – tom | marytts [2017/03/31 09:41] (current) – tag mai | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Mary Text-To-Speech ====== | ||
| + | {{tag> software poppy project poppy-kine}} | ||
| - | text to speech: http:// | + | MaryTTS is an open-source |
| - | **Utilisation de MaryTTS et téléchargement de nouvelles voix** | + | The main output of this project is a java program PGI_I15.jar. We have developed an API so for Poppy in the [[poppy-kine: |
| - | Trois programmes pour linux et windows sont fourni | + | ===== Utilisation de MaryTTS et téléchargement de nouvelles voix ===== |
| + | |||
| + | Trois programmes pour linux et windows sont fournis | ||
| • Marytts-server | • Marytts-server | ||
| Line 26: | Line 30: | ||
| Les voix que nous avons utilisées sont : | Les voix que nous avons utilisées sont : | ||
| FR : // | FR : // | ||
| - | EN : // | + | EN-US : // |
| + | |||
| + | ===== Utilisation via Java ===== | ||
| - | **Utilisation via Java** | ||
| Pour utiliser MaryTTS via un programme en Java, deux méthode sont possible : | Pour utiliser MaryTTS via un programme en Java, deux méthode sont possible : | ||
| Line 40: | Line 45: | ||
| Ci-dessous, quelques exemple de méthode de l’interface MaryInterface : | Ci-dessous, quelques exemple de méthode de l’interface MaryInterface : | ||
| - | ---- | + | <code java> |
| /* création de l' | /* création de l' | ||
| String host=" | String host=" | ||
| Line 65: | Line 70: | ||
| player.start(); | player.start(); | ||
| player.join(); | player.join(); | ||
| - | ---- | + | </ |
| - | **Utilisation de l'API du projet:** | + | ===== Utilisation de l'API du projet: |
| + | |||
| + | ==== The Java API ==== | ||
| Usage: | Usage: | ||
| Line 83: | Line 91: | ||
| -p string country : Use your personal TTS string | -p string country : Use your personal TTS string | ||
| + | ==== The python API==== | ||
| + | |||
| + | python client-mary.py [country part side position] | ||
| + | |||
| + | ARGUMENTS : | ||
| + | country : en | fr (natively supported) | ||
| + | part : arm | hand | elbow | shoulder | leg | foot | knee | hip | ||
| + | side : left | right | 0 | ||
| + | position : up | down | front | back | left | right | ||
| + | |||
| + | ==== How to install ==== | ||
| + | |||
| + | * You need to have the .jar and the python program from {{: | ||
| + | * Download MaryTTS from https:// | ||
| + | * install Maven from http:// | ||
| + | * Compile the MARY system itself from the folder mary-master where you downloaded the MaryTTS code, with command < | ||
| + | |||
| + | |||
| + | |||
| + | ==== Step to step : running the python program ==== | ||
| + | - In folder marytts-master/ | ||
| + | - In the folder where you downloaded | ||
| + | - in folder where you downloaded {{: | ||