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
Nesta página do site você pode assistir ao vídeo on-line Speak by python || python voice assistant || python speak function duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário B Learning Club 21 Junho 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 3,634 vezes e gostou 64 espectadores. Boa visualização!