Questions tagged [ssml]

Speech Synthesis Markup Language(SSML) is a web standard for generating synthetic speech for voice-impaired users or device audio output.

SSML can be used to create software which integrates with voice services such as Skype to provide text-to-speech capabilities.

164 questions
18
votes
2 answers

best practice for specifying pronunciation for Android TTS engine?

In general, I'm very impressed with Android's default text to speech engine (i.e., com.svox.pico). As expected, it mispronounces some words (as do I) and it therefore occasionally needs some pronunciation guidance. So I'm wondering about best…
gregS
  • 2,580
  • 5
  • 28
  • 33
17
votes
2 answers

How to get SSML timestamps from Google Cloud text-to-speech API

I want to use SSML markers through the Google Cloud text-to-speech API to request the timing of these markers in the audio stream. These timestamps are necessary in order to provide cues for effects, word/section highlighting and feedback to the…
16
votes
1 answer

Is there a way to convert speech directly into SSML?

Just as one is able to use various speech-to-text 'dictation' tools to convert spoken word into its corresponding text, I would like to know if there are similar such tools for converting spoken word into its corresponding SSML. That is, it will…
14
votes
3 answers

Does Android TTS support Speech Synthesis Markup Language?

Passing the following SSML (Speech Synthesis Markup Language) document to the com.svox.pico TextToSpeech engine resulted in a reading of the XML body but no control from the phoneme element or the emphasis element. This result (no apparent SSML…
gregS
  • 2,580
  • 5
  • 28
  • 33
9
votes
2 answers

What is the proper syntax for the phoneme attribute in Android's TTS XML?

My understanding is that this X-SAMPA XML sample, like other samples here and even here & here, is supposed to sound something. String text = " ."; mTts.speak(text,…
an00b
  • 11,338
  • 13
  • 64
  • 101
7
votes
2 answers

Cannot use IPA phonemes with Google Home SSML

Alexa has the capability to speak phonetically using the IPA phonemes...example below You say, pecan. I say, pecan. I cant see…
user2035174
  • 133
  • 8
7
votes
3 answers

How to correctly specify SSML in an Alexa Skill lambda function?

I am trying to make an Alexa skill where Alexa says something that has been marked up with SSML. I have tried to mimic the example in this repo, but I am always receiving a lambda response of { ... "response": { "outputSpeech": { …
David Baker
  • 310
  • 1
  • 3
  • 9
6
votes
2 answers

TTS: How to convert text into SSML?

My goal is to let the device speaking a text with a human voice. So I am using the Text-to-Speech API from Google. This is how my code looks like: package ch.yourclick.kitt; import android.media.MediaPlayer; import android.os.Build; import…
xRay
  • 543
  • 1
  • 5
  • 29
5
votes
2 answers

Different ssml values generate the same audio in Google Text to Speech

Unable to generate different audio wave when using ssml when using WaveNet voices. Can you hear me now? Can you hear me now?
Jose GR
  • 51
  • 4
5
votes
1 answer

SSML Actions on Google, change speaking language

I can't seem to change the language during the conversation. I tried: Bonjour Any ideas how to do that?
WinterChilly
  • 1,549
  • 3
  • 21
  • 34
5
votes
4 answers

How to skip some section of text while speaking using SSML

Is there some SSML tags etc, to remove a particular line of text from speaking. Yes, I know I can remove this using string functions, before sending it to the speech synthesizer. But my question is, is there any way to mark or tag some text, so that…
Priyank Bolia
  • 14,077
  • 14
  • 61
  • 82
5
votes
1 answer

Google Actions sdk not playing audio in ssml from firebase storage

Google Actions SDK is unable to play audio files in SSML Audio tag from firebase storage. Although I could play same .ogg format file from wikipedia.…
Praggie
  • 396
  • 2
  • 12
5
votes
6 answers

How to incorporate SSML into Python

I need to use SSML to play an audio file with the tag in my Alexa Skill (as per Amazon's instructions). Problem is, I don't know how to use SSML with Python. I know I can use it with Java but I want to build my skills with Python. I've looked all…
SamYoungNY
  • 6,444
  • 6
  • 26
  • 43
4
votes
0 answers

How to add SSML tags to HTML page

I have some knowledge about SSML speech Synthesis Marku Language. I am using google cloud text to speech API, that converts text to speech for an given text/SSML as input. Now I am trying to get speech of an blogs which is really an HTML. Should I…
Pez
  • 1,091
  • 2
  • 14
  • 34
4
votes
2 answers

Google Cloud TTS engine ignoring break SSML tags on large chunks of text

I'm trying to generate audio from a big paragraph, but Google is ignoring the SSML tags. The tags are respected if I trim the text to around three lines, but more than that makes them invisible. $body = [ 'input' => [ 'ssml' =>…
1
2 3
10 11