Changes between Version 9 and Version 10 of UsingMaryTTS


Ignore:
Timestamp:
07/14/11 16:06:25 (8 years ago)
Author:
dennisr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UsingMaryTTS

    v9 v10  
    1111 - how to easily obtain versions of speech in the various formats, and how to add other information such as prosody or pauses. 
    1212 
     13== Obtaining MaryTTS == 
     14Clearly, you can only use MaryXML speech if you have installed MaryTTS and are using one of the MaryTTS voices in your configuration of your virtual human. Downloads and documentation are found at the [[http://mary.dfki.de// | MaryTTS web page]]. Informatino on selecting MaryTTS as speech generator for your virtual human can be found in the VirtualHumanSpec documentation. 
     15 
    1316== A short example == 
     17To send MaryXML format content in a bml <speech> behavior you need to use description level elements (see [[http://wiki.mindmakers.org/projects:bml:draft1.0#behavior_description_extensions | the BML standard on description levels]]). 
     18 
     19The format is like this: 
    1420{{{ 
    15 <bml id="bml1"> 
    16   <speech id="speech1" start="5">        
    17     <text>I'm speaking BML.</text>       
    18     <description priority="10" type="maryxml"> 
    19       <maryxml xmlns="http://mary.dfki.de/2002/MaryXML"> 
    20       I'm speaking BML. 
    21       </maryxml> 
    22     </description>       
    23   </speech>    
     21<bml id="bml1> 
     22<speech id="s1" start="0"> 
     23  <text>Specification of the text without <sync id="sync1"/>MaryXML markup</text> 
     24  <description priority="1" type="[t]"> 
     25  [...maryxml content... contains <mark name="sync1"/> ] 
     26  </description> 
     27</speech> 
    2428</bml> 
    2529}}} 
    2630 
    27 == Obtaining MaryTTS == 
    28 Clearly, you can only use MaryXML speech if you have installed MaryTTS and are using one of the MaryTTS voices in your configuration of your virtual human. Downloads and documentation are found at the [[http://mary.dfki.de// | MaryTTS web page]]. Informatino on selecting MaryTTS as speech generator for your virtual human can be found in the VirtualHumanSpec documentation. 
     31`[t]` can be one of: `maryxml | marywords | maryallophones` 
     32 
     33`[maryxml content]` then needs to contain data in the format specified by `[t]`. 
     34 
     35See below for the requirements to this content! 
     36 
     37'''NOTE:''' When you want to use sync marks, you need to add them both in the basic  
     38text as <sync id="..."/>, and in the maryxml as <mark name="..."/> 
     39 
    2940 
    3041In order to integrate speech/prosody features into a BML script, use MaryXML: