pyttsx3 icon indicating copy to clipboard operation
pyttsx3 copied to clipboard

SSML ignored

Open komaljeet opened this issue 5 years ago • 1 comments

the_text = "<speak xmlns="http://www.w3.org/2001/10/synthesis" version="1.0">
	<p>
		<s>
			<voice name="David" gender="male" age="25">
			start
			breaking <break time="2s"></break>
			<say-as interpret-as="characters">end</say-as>
			</voice>
		</s>
	</p>
</speak>"

engine = pyttsx3.init("sapi5")
engine.say(the_text)
engine.runAndWait()

komaljeet avatar Jun 11 '20 14:06 komaljeet

Any plans to support SSML?

pirumpi avatar Feb 03 '22 21:02 pirumpi