Relative Content

Tag Archive for pythonspeech-recognition

Best Tools for Faster Speech-to-Text or Audio Transcription

I’m working on a project where I need to transcribe audio recordings to text as quickly as possible. I’m looking for recommendations on tools or libraries that provide fast and efficient speech-to-text or audio transcription capabilities.

Recognizer not getting my voice in my python code with speech recognition module

import pyttsx3 import distutils import speech_recognition engine = pyttsx3.init(“sapi5”) voices = engine.getProperty(“voices”) engine.setProperty(“voice”, voices[0].id) engine.setProperty(“rate”,170) def speak(audio): engine.say(audio) engine.runAndWait() def takeCommand(): r = speech_recognition.Recognizer() with speech_recognition.Microphone() as source: print(“Listening…”) r.pause_threshold = 1 r.energy_threshold = 300 audio = r.listen(source, phrase_time_limit= 5) try: print(“Understanding…”) query = r.recognize_goo(audio,language=’en-in’) print(f”you said : {query}n”) except Exception as e: print(“Say that […]