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.
To add speech replacements in @Voice app, open the Settings menu, press "Edit speech", then use the + button to add a new speech replacement.
Example: The following speech replacement will add a 500 ms pause after each comma: Replacement Kind: Case sensitive
Replace: ,<break time=”500ms”/>
Another example, this one will add 1 second pause after each word: Replacement Kind: RegExPattern: \b\w+\bReplace: $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 InsensitivePattern: psychologyReplace: <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.
post edited by Admin - 2020/04/25 15:50:02