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
Auf dieser Seite können Sie das Online-Video Speak by python || python voice assistant || python speak function mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer B Learning Club 21 Juni 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 3,634 Mal angesehen und es wurde von 64 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!