Reply to post

[FAQ]Using SSML (Speech Synthesis Markup Language) to edit speech in @Voice

Author
Admin
Administrator
  • Total Posts : 275
  • Reward points: 0
  • Joined: 2010/11/22 00:00:00
  • Location: USA
  • Status: offline
2016/02/16 14:27:46 (permalink)

Using SSML (Speech Synthesis Markup Language) to edit speech in @Voice

You can read about SSML markup here:
 
                https://www.w3.org/TR/speech-synthesis11/
 
You could try to insert any SSML tags into sentences and most voices should understand and interpret them correctly. How they actually interpret tags is up to the voice software implementation, I have no influence on this. @Voice will automatically wrap sentences sent to TTS engine into <speak>…</speak> tags, so don’t add these manually.
 
Example: this Edit speech replacement will add 1 second pause after each word, after opening the "Edit speech" function under the "Settings" menu:
 
Replacement Kind:    RegEx
Pattern:    \b\w+\b
Replace:    $0<break time=”1s”/>
 
To edit pronunciation of words you could use SSML <phoneme …> element with IPA or other phonetic alphabets (depending on what the voice in use actually supports, e.g.:
 
Replacement Kind:    Case Insensitive
Pattern:    psychology
Replace:    <phoneme alphabet="ipa" ph="saɪˈkɒlədʒɪ"/>
 
Note, after further tests I found out that only the IVONA TTS and Android demo voices named Pico support phonetic transcription, at least with IPA alphabet. Further tests are needed to see if any other commercial voices on Android support phonetic alphabets or not.
 
Greg
post edited by Admin - 2017/01/02 08:50:01

0 Replies Related Threads

    Jump to:
    © 2017 APG vNext Commercial Version 5.1