Jarvis voice

 import pyttsx3

engine = pyttsx3.init()
voices=engine.getProperty('voices')
engine.setProperty('voice', voices[1].id)
engine.setProperty('rate', 125)
engine.setProperty('volume',0.2)
engine.say("Hello, How are you?")
engine.save_to_file('Hello World', 'test.mp3') 
engine.runAndWait()

Comments

Popular posts from this blog

Basic Calc using Python Tkinter

Multithreading in python

Core java Selenium Software Testing