Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

ssml text to speech audio tag python

Cannot get the audio tag to work. Have tried it with both a local and remote mp3 files.  

Here is the text:

<speak version="1.1" xmlns="http://www.w3.org/2001/10/synthesis" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/10/synthesis http://www.w3.org/TR/speech-synthesis11/synthesis.xsd" xml:lang="en-GB">

The rain in Spain stays mainly in the plain.
<audio src="uhm_male.mp3" /> {If I take this out everything works)
How kind of you to let me come.

</speak>

Anybody got any suggestions?

 

0 3 1,199
3 REPLIES 3