• @Voice Aloud Reader
  • Entering SSML instructions directly into the text or HTML files to be read aloud by @Voice
2021/05/13 13:24:22
Admin
You can use any SSML instructions in the text that you load into @Voice app for speaking. However, there is one trick to remember: @Voice will convert any < character into its HTML encoding: “&lt;” and similarly > will be converted into “&gt;”. So these characters should have been converted back to < or >, but only for SSML instructions. You may use the following workaround:
 
When you want to enter any SSML instruction - let’s use the simplest as an example: the break SSML instruction:
 
                Some test to speak <break time=”2000ms”/> and some more text after it.
 
Edit your original file and change the < and > characters for SSML instructions to something else, something unique, for example to “[<” and “>]” sequences:
 
                Some test to speak [<break time=”2000ms”/>] and some more text after it.
 
Now add the following two speech replacements in @Voice Edit speech function:
 
Type: Case Sensitive
Match whole words only: unchecked
Pattern: [&lt;
Replace: <
 
and
 
Type: Case Sensitive
Match whole words only: unchecked
Pattern: &gt;]
Replace: >
 
Now @Voice will send the correct SSML encoded text to the speech engine - see attached image.

Attached Image(s)

© 2025 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account