Questions tagged [speech-recognition]

Speech recognition (SR) is the inter-disciplinary sub-field of computational linguistics which incorporates knowledge and research in the linguistics, computer science, and electrical engineering fields to develop methodologies and technologies that enables the recognition and translation of spoken language into text by computers and computerized devices such as those categorized as smart technologies and robotics

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Setting up streamingRecognize in Node.js - Google Speech to Text V2

0 I've been trying for couple days now to migrate to Google STT V2 using Node.JS. In v1 everything worked perfectly. I have created a recognizer and created a script using https://github.com/...
overeqq's user avatar
0 votes
0 answers
84 views

How am I able to do Forced Alignment on Python?

I'm trying to align a transcript I have to a piece of audio, to get the timestamps of when each word was said. However, out of all of the modules I've tried, none of them have seemed to work; I don't ...
someoneontheglobe's user avatar
-3 votes
0 answers
25 views

API for speaker recognition and saving voices [closed]

Looking for an API which will detect different voices in audio. But also save a voice for future audios. For example: Conversation 1 between Nick and Bob. It detects two voices. I label one as Nick ...
Rahul Rentash's user avatar
1 vote
0 answers
20 views

Android's SpeechRecognizer with EXTRA_AUDIO_SOURCE still listens to the mic instead of from the file

I'm trying to make an app that lets the user record a sentence, and convert it into text. Running both MediaRecorder and SpeechRecognizer at the same time doesn't work, so I've decided to make the ...
Herwin P's user avatar
0 votes
0 answers
27 views

How to transcribe raw audio data with picovoice leopard and pyaudio

I'm trying to find a way to transcribe raw audio data with picovoice leopard model. in the official picovoice docs there is a few lines of code explaining how to do so, but I could not get it done. ...
Almogbb's user avatar
  • 39
0 votes
0 answers
10 views

How to implemented concurrency in two function with while loop in Speech Recognition?

I am trying to implement real time live speech recognition. My approach is two make two functions which run concurrently : Read audio using pyaudio Use Whisper model for inference However, the ...
Nuntea7's user avatar
0 votes
0 answers
23 views

whenever I tap on the microphone button, It's showing up like this "Recognition Request is nil". I don't uderstand what's the issue [closed]

So,I have developed a basic calculator with a experimental inteface which has quite a potential to do some basic math.However, when I wanted to integrate microphone to put in some integers and also ...
Ravi teja Garimella's user avatar
0 votes
0 answers
27 views

Can't use pyaudio in SpeechRecognition

I have been trying to use SpeechRecognition module. Here is my code import speech_recognition as sr def real_time_speech_recognition(): recognizer = sr.Recognizer() with sr.Microphone() as ...
Nuntea7's user avatar
0 votes
0 answers
13 views

The transcription with speech_recognition is being cut off midway

I would like to output text from a wav file that is about 2 minutes long, but the text is cut off in the middle. The source code is below. How can I solve this problem? The execution environment is as ...
panco's user avatar
  • 1
0 votes
1 answer
49 views

How to wait for 1 minute for the speaker's silence before start Recognition

I want azure speech to text service to wait for at least 1 minute before it start recognizing the speech. Or speaker himself click on the button after he complete his speech, then azure speech to text ...
Rohit Kharat's user avatar
0 votes
1 answer
58 views

Python multilingual SpeechRecognition

I have a speech recognition in Python project. So, I need it to recognize 5 languages. My code: import speech_recognition as sr r = sr.Recognizer() with sr.Microphone() as source: audio = r....
WhiteFox's user avatar
0 votes
1 answer
32 views

Aligning the transcribed text with specific timestamps in the audio

is it possible in Azure or are there services in Azure that I can use to get the position of each plain text based from the spoken words of the source Video? Basically, I have a plain text that ...
chaw's user avatar
  • 1
0 votes
0 answers
27 views

Not having the train model in Generic Assistant

In book GenericAssistant, when we enter the data from file json, we have to press train_modle, but when I press train_modle, it says there is no such module! import sys import threading import tkinter ...
Yashar Moh's user avatar
-1 votes
0 answers
35 views

PyTorch: loss.backward() keeps running for days

I'm using the pretrained model from deepspeech_pytorch (https://github.com/SeanNaren/deepspeech.pytorch) to do some speech recognition tasks. However, the loss.backward() keeps running for days in ...
洪潇天's user avatar
0 votes
0 answers
21 views

TypeError: _ffmpeg_ffmpeg__WEBPACK_IMPORTED_MODULE_1__ is not a constructor

import { useState, useRef } from "react"; import \* as FFmpeg from "@ffmpeg/ffmpeg"; const AudioRecorders = ({ onAudioRecorded }) =\> { const \[permission, setPermission\] = ...
Shubham's user avatar
0 votes
0 answers
22 views

How to make STT vosk from an audio window?

I'm using Vosk in Python. How can I get sound from Windows in real-time? I'm looking forward to seeing how it goes around here. I tried downloading test_speaker.py example from the alphacep/vosk-api ...
kenikF's user avatar
  • 11
-1 votes
1 answer
43 views

speech_recognition Throws error ``audio_data`` must be audio data

I have a video file and I want to determine the confidence level of the speaker. To perform that at first I am extracting the audio from the video file. Below is the code for that. from moviepy.editor ...
Mr Learner's user avatar
0 votes
0 answers
39 views

Low LSTM Accuracy in Speech Recognition

Hello everyone, I am applying LSTM to speech emotion recognition. I have performed feature extraction using MFCC, resulting in a matrix of dimensions 60,575 × 39. I subsequently transformed this ...
Hamza's user avatar
  • 1
-1 votes
0 answers
20 views

PicklingError Can't pickle <function Mixture._expectation_list at 0x000Ef>: it's not the same object as sidekit.mixture.Mixture._expectation_list

I am trying to train Universal Background Model(ubm) using EM split of sidekit. But when I run ubm.EM_split( features_server=server, #sidekit.FeaturesServer used to load data ...
0 votes
0 answers
15 views

Speech recognition not working for android app using SpeechRecognizer as a service

Just to preface, I am completely new to Android Studio and am a Java beginner in general, but Im trying to work on making an android 'siri' like app where I could say a phrase and the phone would ...
J_CHAN0429's user avatar
0 votes
1 answer
93 views

Unable to recognize speech from microphone using Azure Speech to Text service in react js

I wrote code in react js to identify text from speech from the microphone, its unable to identify or recognized the speech, and here there is no error and I tried couple of option it is not working. ...
Rohit Kharat's user avatar
0 votes
0 answers
12 views

Cannot open While accessing file audio file for accessing file

I am currently working on an speech to text related app. I am done with recording in childBottomSheet on dismiss of child bottom sheet I sent back the file URL to parentVC when I tried to access that ...
Ahmad Qasim's user avatar
0 votes
0 answers
24 views

IBM Watson STT + MQTT weird behaviour

I am working on remote transcription using Watson STT. I stream audio from a mic to an mqtt client that interfaces with watson stt via websocket. Everything words fine if I follow this flow. RECORD ...
subtea's user avatar
  • 1
0 votes
0 answers
24 views

Working with generators in a streaming recognition python code

I'm having difficults to understand the dynamics of a python script excerpt related to chunk generators and transcription process. Here is the full code: https://cloud.google.com/speech-to-text/docs/...
Pedro Borghi's user avatar
0 votes
2 answers
90 views

Azure Speech Recognizer gives me error about header

I am trying Speech to text with Azure Speech Recognizer service but when ı run this code, ı get error code is; import azure.cognitiveservices.speech as speechsdk subscription_key = "key is here&...
Tunahan Deniz's user avatar
0 votes
0 answers
20 views

Realtime Speaker audio - Gogole Speech to Text

I'm trying to capture real-time audio coming from the speaker through the lookback device. I want to send this audio stream to Google Speech to Text. I've done the same using the microphone (using a ...
p.magalhaes's user avatar
  • 7,747
0 votes
0 answers
45 views

Speech to Text: Identifying sanskrit slokas from audio file

I am trying to identify the start and end location of slokas from an audio file, I used assembly AI to convert the audio into text using "assembly AI" but the conversion is not very good: ...
nunam's user avatar
  • 17
0 votes
0 answers
32 views

Is there way to Amazon KVS to lambda data streaming with Amazon connect?

I'm using amazon kinesis video stream with lambda on python. I'm trying to send audio stream to lambda from kvs. These codes what I was tryed but error says "Source must be an audio source" ...
Taro Ken's user avatar
0 votes
0 answers
22 views

webkitSpeechRecognition and webkitSpeechGrammarList: Grammar with more than 700 words crash

I am currently experimenting with the webkitSpeechRecognition and webkitSpeechGrammarList in a React application, on Chrome web browser. My solution is basic (copied from https://developer.mozilla.org/...
jdel's user avatar
  • 546
-2 votes
1 answer
38 views

I need help in python while making a program [duplicate]

import speech_recognition as sr import pyttsx3 import requests def listen_to_audio(): r = sr.Recognizer() with sr.Microphone() as source: print("Listening...") audio ...
ShadowDBoss Pranav Sathya's user avatar
0 votes
0 answers
20 views

How do Loom and Grammarly's Chrome Extensions work?

I'm coding a web extension that can analyze speech in real-time. This extension can be useful for various scenarios, such as having meetings or practicing presentations. While working on this project, ...
CuriousCat's user avatar
0 votes
0 answers
54 views

Voice Recognition programm instantly exits code instead of listening for input

Hello i honestly dont know if this is very much a stupid question or not but i am currently learning more python and as such am following some instructions on creating a little Voice Recognition ...
MaxinesHideout's user avatar
0 votes
1 answer
156 views

How to implement Speech to text in MAUI? [duplicate]

I want to convert speech into text in .Net MAUI. I search for same I did not get solution for it. Please let me know how to implement it. I follow this link: https://devblogs.microsoft.com/dotnet/...
Kirti Zare's user avatar
0 votes
2 answers
67 views

Windows exec built by nuitka fails by not finding a file

I have a python (11) application running under Windows 10 in a virtual environment. It works fine. However, when I build an executable with nuitka it fails. Here is the relevant code: import ...
fredm73's user avatar
  • 347
0 votes
0 answers
38 views

Voice recognition already running

I use this speech recognition function to activate listening following a specific event, such as the end of an animation. Subsequently, it awaits user input and, based on the extracted speech, sends a ...
user16965639's user avatar
1 vote
0 answers
85 views

Speech correction API behind Google Pronunciation Practice

When ask Google Assistance to pronounce a `word, it triggers an embedded app that allows me to practice the pronunciation of a word or sentence. It shows me which words in a sentence are ...
reith's user avatar
  • 2,068
1 vote
0 answers
45 views

Speech Recognition Issue: Works in Edge but Stalls in Chrome

I have developed a web application that uses the Web Speech API for speech recognition. The application works well in Microsoft Edge but faces issues in Google Chrome. Specifically, after continuous ...
Jahanzaib's user avatar
0 votes
0 answers
90 views

Android SpeechRecognizer not working. Language pack issue?

The SpeechRecognizer portion of our app "ConverStory" has all of a sudden stopped working on some devices recently. https://play.google.com/store/apps/details?id=com.converstory. We use ...
Canuck Producer's user avatar
0 votes
0 answers
37 views

Switching audio inputs in real-time speech recognition

I am currently stuck on a project, where I would like to compare (using speech recognition) two different inputs in real time. Input 1 says a command, which is then repeated by Input 2. The goal is to ...
AdamTheWombat's user avatar
0 votes
0 answers
33 views

Limiting vosk model vocabulary

I am using the vosk-model-small-en-us-0.15 on a Raspberry Pi. Is there a way to limit the words it can transcribe? I know other models have a words list, but the one I am using does not seem to have ...
Anonymous07's user avatar
0 votes
0 answers
15 views

Capturing multichannel audio input in C#

I'm developing a system that needs to capture audio from multiple microphones simultaneously and run a speech recognition model on the audio. I'm developing with Unity, but I wasn't able to find a ...
André Chrisostomo's user avatar
0 votes
0 answers
20 views

Some problems when using CTCloss for ASR tasks

When using torch.nn.CTCloss, why does my loss curve converge but the model seems to repeatedly output only a few tokens? For example: My label is: [220, 1122, 172, 26, 460, 836, 171, 1813, 113, 39, 83,...
mixxis's user avatar
  • 1
0 votes
0 answers
47 views

How can I solve a problem of transcribing a long audio file into a text file using Google's speech-on-Text API?

After recording an audio file in the cloud storage bucket (audio.wav), a Python code was applied to transcribe this file (audio.wav) into a "Resultado.text" file. However, although the ...
PAULO ROBERTO MORALES's user avatar
0 votes
0 answers
44 views

Live Transcription in a GUI with Python

How to create a script in Python that transcribes the speech, i.e. speech to text (STT), coming from my microphone in real-time and prints the text on a GUI? Some particularities: the STT engine (...
Pedro Borghi's user avatar
0 votes
0 answers
38 views

Convert deprecated keybd_event to new SendInput in VBA

I have this code below that sends a key combination, and I would like to update it to use SendInput instead, since keybd_event has been deprecated. It was crafted to be used with speech recognition, ...
John Keyberg's user avatar
0 votes
0 answers
26 views

why I am getting the "ValueError: axes don't match array" when trying test the model in tensorflow for Speech emotion Recognition

I am working on SER with model TIMNET. The main coed is here: authors of the code provided pretrained models and what you have to do is copy and paste the command they provided in the terminal. for ...
Sakib Hiader's user avatar
0 votes
0 answers
17 views

tensorflow tf.nn.ctc_loss error on TPU with variable length audio data and padded_batch

I am following the guide here https://keras.io/examples/audio/ctc_asr/ Everything works on GPU. But it is painfully slow to train (5-6 hours for an epoch) But I am encountering problems with ctc loss ...
Sayem Prodhan Ananta's user avatar
0 votes
0 answers
20 views

Getting "Cannot copy to a TensorFlowLite tensor with 63984 bytes from a Java Buffer with 64000 bytes" error passing I/O TensorAudio to TFLite model

I am getting the following error while loading the input and output audio buffers to tensorflow-lite interpreter for inferencing. I am using the TensorAudio and TensorAudioFormat packages from the ...
Selina Arokiaswamy's user avatar
0 votes
0 answers
105 views

Call arguments received by layer 'sequential_6' (type Sequential): inputs=tf.Tensor(shape=(None, 100, 13, 13), dtype=float32) training=True mask=None

i'm working on a speech recognition usign lstm model, i'm using the mini speech recognition command dataset, the tutorial given on tensorflow simple audio, is for classification and they used CNN, so ...
NamiCyp's user avatar
0 votes
0 answers
19 views

PyDub: [WinError 6] The handle is invalid. While recognize_google transcribe text. FFMPEG

I am trying to transcribe the audio to text using the pydub and speech recognition library. My code is successfully converting the '.mp3' file to '.wav' but while conversion/transcribing using ...
SayyamShah's user avatar

1
2 3 4 5
108