marytts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
marytts [2016/02/24 16:03] – maimarytts [2017/03/31 09:41] (current) – tag mai
Line 1: Line 1:
 ====== Mary Text-To-Speech ====== ====== Mary Text-To-Speech ======
 +{{tag> software poppy project poppy-kine}}
  
 MaryTTS is an open-source text to speech system: http://mary.dfki.de/ and http://mary.dfki.de:59125/ and https://github.com/marytts/marytts MaryTTS is an open-source text to speech system: http://mary.dfki.de/ and http://mary.dfki.de:59125/ and https://github.com/marytts/marytts
 +
 +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:poppy-kine-2015-s5]] project. The API is available in Java and python. The report of the project his available at {{report:rapport_mgp320-i15_josselin_fayard_tom_veillard.pdf|}}
  
 ===== Utilisation de MaryTTS et téléchargement de nouvelles voix ===== ===== Utilisation de MaryTTS et téléchargement de nouvelles voix =====
Line 27: Line 30:
 Les voix que nous avons utilisées sont : Les voix que nous avons utilisées sont :
 FR : //enst-dennys-hsmm// FR : //enst-dennys-hsmm//
-EN : //cmu-rms-hsmm//+EN-US : //cmu-rms-hsmm//
  
 ===== Utilisation via Java ===== ===== Utilisation via Java =====
Line 71: Line 74:
  
 ===== Utilisation de l'API du projet: ===== ===== Utilisation de l'API du projet: =====
 +
 +==== The Java API ====
  
  
Line 86: 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 {{:software:mgp_i15_jar_py.zip|}}. You will also want to have {{:software:mgp_i15.rar|}} which contains the java HRI for [[poppy-kine:poppy-kine-2015-s5]] project.
 +  * Download MaryTTS from https://github.com/marytts/marytts. Follow the readme to install MaryTTS. More precisely:
 +     * install Maven from http://maven.apache.org/install.html
 +     * Compile the MARY system itself from the folder mary-master where you downloaded the MaryTTS code, with command <code>mvn install</code>
 +
 +
 +
 +==== Step to step : running the python program ====
  
 +  - In folder marytts-master/target/marytts-5.2-SNAPSHOT/bin where you downloaded MaryTTS), launch marytts server <code> ./marytts-server </code>
 +  - In the folder where you downloaded  {{:software:mgp_i15_jar_py.zip|MGP_I15.jar}}, <code>java -jar MGP_I15.jar</code>
 +  - in folder where you downloaded {{:software:mgp_i15_jar_py.zip|client-mary.py}} , launch the python script with for instance the command <code> python client-mary.py fr arm left up</code>
  
  • marytts.1456329786.txt.gz
  • Last modified: 2019/04/25 14:08
  • (external edit)