Speech To Text Conversion Using Python. Advanced Python Tutorials.

Опубликовано: 27 Февраль 2026
на канале: Arshad Kareem
80
14

Hello Programmers.

#ProgrammingWithArshad

In This Video Iam Coding A Program Which Will Convert Our Speech Into Text.
Bookmark This Playlist Guys :    • Advanced Python Tutorials  

Step-1 : pip install speechRecognition
Step-2 : pip install pyAudio

" Source Code :
import speech_recognition as sr

def take_command():
r = sr.Recognizer()
with sr.Microphone() as source:
print(" -- Iam Listening --")
audio = r.listen(source)

try:
print(" -- Iam Recognizing --")
speech = r.recognize_google(audio)
print(f" Your Speech Is : {speech}")

except:
print("Iam Unable to recognise")

take_command()
"

Like, Comment, Share And Subscribe To Programming With Arshad
Don't forget to hit the bell icon to receive Notifications...

----- Channel Link -----
   / @arshadkareem7265  

----- My Website -----
https://arshad272.github.io/home.html

----- Contact Me -----
https://arshad272.github.io/contact.html

----- Instagram -----
https://www.instagram.com/invites/con...

----- WhatsApp Group -----
https://chat.whatsapp.com/BptwWNWZ0RU...

----- LinkedIn -----
  / arshad-k-788855185  

----- Twitter -----
https://twitter.com/Arshad84950201?s=08