Changes between Version 3 and Version 4 of ProsodySpecificationSupport


Ignore:
Timestamp:
09/01/10 17:06:50 (14 years ago)
Author:
sach01
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProsodySpecificationSupport

    v3 v4  
    44 MARY TTS support explicit prosody specification using 'prosody' element as described in W3C Speech Synthesis Markup Language (SSML) recommendations; and the different attributes in 'prosody' element like 'rate', 'pitch' and 'contour' are used as specifications to modify predicted phone durations and pitch contour before passing them to synthesizer. 
    55 
    6  Example 1:  
     6 Example:  
    77  
    88 {{{ 
     
    1919 </maryxml> 
    2020 }}} 
     21 
     22 
     23 '''1. Adjusting Speech Rate''' 
     24   
     25 Example 1:  
     26  
     27  {{{ 
     28 <?xml version="1.0" encoding="UTF-8" ?> 
     29 <maryxml version="0.4" 
     30  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     31  xmlns=" http://mary.dfki.de/2002/MaryXML" 
     32  xml:lang="en-US"> 
     33   <p> 
     34    <prosody rate="200%"> 
     35      I am now speaking twice as fast. 
     36    </prosody> 
     37   </p> 
     38 </maryxml> 
     39 }}} 
     40 
     41 Example 2: 
     42 
     43  {{{ 
     44 <?xml version="1.0" encoding="UTF-8" ?> 
     45 <maryxml version="0.4" 
     46  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
     47  xmlns=" http://mary.dfki.de/2002/MaryXML" 
     48  xml:lang="en-US"> 
     49   <p> 
     50    <prosody rate="70%"> 
     51     I am now speaking 30% more slowly. 
     52    </prosody> 
     53   </p> 
     54 </maryxml> 
     55 }}}