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 […]
TypeError: argument of type ‘NoneType’ is not iterable when using speech_recognition
I am noob, and this is my firts post here.
I’m writing a program, which should recognize speech from audio file (and first transform file from .ogg to .wav).
Here is my code: