# Initialize Text-to-Speech engine with Hazel%27s voice engine = pyttsx3.init() hazel_voice_id = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Speech\Voices\Tokens\TTS_MS_EN-GB_HAZEL_11.0" engine.setProperty(%27voice%27, hazel_voice_id) engine.say("Hello Videotronic Maker, How can I assist you today sir?") engine.runAndWait()
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter