Speak by python || python voice assistant || python speak function
speak by python || python voice || python speak function
in this video you will know everything about speak function
#python #voice #speak
install pyttsx3
set engine
set voice property
set rate
run and wait
create main block and create infinite loop
run the function with text whatever you want
******************
code {
import pyttsx3
def speak(text):
engine=pyttsx3.init()
voices=engine.getProperty('voices')
engine.setProperty('voice',voices[1].id)
rate = engine.getProperty('rate')
engine.setProperty('rate', rate-100)
engine.say(text)
engine.runAndWait()
if __name__ == "__main__":
while True:
speak("Hello friends , in this video you will learn about speak function " )
}
*******************
if need win32
pip install pywin32
**********************
if you need install pyaudio
pyaudio install link:
https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio
open cmd in same directory of pyaudio download and
type pip install ...name pyaudio file...
install it
***************
music credits :
3am by Tokyo Music Walker https://soundcloud.com/user-356546060
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/3am-tokyo-music-walker
Music promoted by Audio Library https://youtu.be/pjh322DFnVo
download and use copyright free music && i also used in this video:
https://www.youtube.com/watch?v=pjh322DFnVo&feature=youtu.be
more video:
how to run django on cpanel:
https://www.youtube.com/watch?v=EZSvsgemDJ0&t=1s
how to run your django project on shared hosting cpanel:
https://www.youtube.com/watch?v=A_kfuTsjS6I
how to get free ssl:
https://www.youtube.com/watch?v=6LYK5n1iay0&t=19s
free download django website about poll app:
https://www.youtube.com/watch?v=RPArC1uj5D4&t=10s
thank you like subscribe share to support