Version 5 (modified by dennisr, 8 years ago) (diff)



Using Mary TTS

You can include MaryXML speech commands by using the BMLT description level extension. Elckerlyc supports three description level extensions for using MaryXML in <Speech> behaviors. You can control the exact pronunciation of Speech elements by directly using Mary commands in MARYRAWXML, WORDS, and ALLOPHONES format. Other formats are quite easy to implement too, on request.

This document describes:

  • how to use these formats in BML requests
  • how to easily obtain versions of speech in the various formats, and how to add other information such as prosody or pauses.

A short example

<bml id="bml1">
  <speech id="speech1" start="5">   	
    <text>I'm speaking BML.</text>    	
    <description priority="10" type="maryxml">
      <maryxml xmlns="">
      I'm speaking BML.

In order to integrate speech/prosody features into a BML script, use MaryXML: start Maryserver c:\hmisvn\MaryTTS\bin\maryserver.bat start MaryEditor? in browser window: Select the proper voice First window: change type to text and insert the text you want to change Second window: change type to marywords Change first window type to marywords and copy-paste content of second window to first Second window: change type to audio Copy paste everything in between <bml><speech><text></text> <description priority=”1” type=”marywords”>

</description> </speech></bml>

  • delete: <?xml … utf-8>, <voice=> and </voice>

For short breaks use <boundary breakindex=”1-6”/> For changing wordlength use <prosody rate=”%”></prosody>

User contributions