Speak by python || python voice assistant || python speak function

Published: 21 June 2020
on channel: B Learning Club
3,634
64

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/pytho...
open cmd in same directory of pyaudio download and
type pip install ...name pyaudio file...
install it
***************


music credits :
3am by Tokyo Music Walker   / 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    • 3am – Tokyo Music Walker (No Copyright Music)  


download and use copyright free music && i also used in this video:
   • 3am – Tokyo Music Walker (No Copyright Music)  



more video:
how to run django on cpanel:
   • How to run Django on cpanel || django cpan...  

how to run your django project on shared hosting cpanel:
   • How to run your django project on shared h...  

how to get free ssl:
   • ZeroSSL | How to get free SSL certificate ...  

free download django website about poll app:
   • Django poll app || free Download and devel...  



thank you like subscribe share to support


On this page of the site you can watch the video online Speak by python || python voice assistant || python speak function with a duration of hours minute second in good quality, which was uploaded by the user B Learning Club 21 June 2020, share the link with friends and acquaintances, this video has already been watched 3,634 times on youtube and it was liked by 64 viewers. Enjoy your viewing!