All Questions
27 questions
0
votes
0
answers
142
views
Speechbrains SpeakerRecognition saves short cuts/links/symlinks of used audio files in working directory
I use the speaker recognition of speechbrain using the Python language:
from speechbrain.inference.speaker import SpeakerRecognition
and I load a model in the following way
model = SpeakerRecognition....
-1
votes
1
answer
82
views
How to change the language speech
def take_command():
try:
with sr.Microphone() as source:
print('listening...')
voice = listener.listen(source)
command = listener.recognize_google(voice)...
-2
votes
1
answer
385
views
Python "speech_recognition" module has no "recognize"?
I was trying some code i watched on a video but when i had to run the program it said the following text: "An error ocurred : module 'speech_recognition' has no attribute 'recognize'" i used ...
3
votes
0
answers
2k
views
Speaker recognition using Python (recognize who a voice belongs)
I would like to know if there is a library or tool for python that allows me to retrieve any identification for a recorded voice based on prior data.
For example:
import voice_recorder
import ...
0
votes
0
answers
49
views
Can I use the mic with a voice record ? Python
im working in a selenium project and i need use the mic into a website. But I need run an specific voice record into the mic. So when the project is running i need this, 1-Open the website 2-Use the ...
1
vote
0
answers
151
views
Python Speechrecognizer
I'm currently working on my own voice assistant, but I often times have the problem that it's taking very long to answer/recognize that I'm not sayin anything.
I already tried using:
listener....
0
votes
1
answer
617
views
Cannot Train Wav2vec XLSR Model With Common Voice Data
I am trying to train a transformer ASR model with wav2vec XLSR in the danish language, but whenever I try to pull the danish dataset with datasets library it's giving me an error..
Notebook link
error ...
0
votes
1
answer
955
views
AttributeError: 'NoneType' object has no attribute 'lower' when saying nothing in voice assistant
I am making a voice assistant in python but when i dont speak in it i get a error like this:
Sorry, I could not Understand You!
Traceback (most recent call last):
File "g:\Python\app.py", ...
0
votes
0
answers
779
views
Python voice assistant tkinter GUI button problem
I am creating a GUI voice assistant in python with tkinter and google speech to text library. The placeholder is where the text will go in the future.
The problem I'm having is that after the mic ...
1
vote
0
answers
998
views
Speech Recognition detect specific word using python
I am working on a voice assistant project and using SpeechRecognition library to recognise user's commands. I decided to name my assistant ODI and realised that this is not recognised by the ...
0
votes
0
answers
241
views
Python SpeechRecognition mutes other sounds
I don't know if SpeechRecognition or PyAudio is causing this, but when I run my voice assistant program, all the sounds on the computer are muted and I have to restart the application to turn the ...
-3
votes
1
answer
1k
views
How to make a voice assistant in python that always listen for inputs? [closed]
I am making a voice assistant in python following the tutorial on YouTube by "Code with harry". I have successfully added some more functionalities. The file is of extension .pyw so it runs ...
1
vote
1
answer
938
views
sklearn.exceptions.NotFittedError: This LabelEncoder instance is not fitted yet
I'm trying to run a voice recognition code from Github HERE that analyzes voice. There is an example in final_results_gender_test.ipynb that illustrates the steps both on the training and inference. ...
3
votes
0
answers
447
views
sklearn.exceptions.NotFittedError: This LabelEncoder instance is not fitted yet
I'm trying to run a voice recognition code from Github HERE that analyzes voice. There is an example in final_results_gender_test.ipynb that illustrates the steps both on the training and inference. ...
2
votes
0
answers
991
views
Is there a way to detect a specific persons voice in python with speech recognition?
I am adding on to a virtual desktop assistant that I have made and I want to make it so if my voice is detected it will greet me but if somebody else talks to it, it won't talk or will greet them. ...
3
votes
0
answers
389
views
Cough recognition in python
I am working on a cough recognition app.
I have never done something like this before, and any adviced is greatly appreciated.
My approch is to gather data labeled as cough sounds and no_cough sounds, ...
2
votes
1
answer
333
views
Python Pocketsphinx: Keyword isn't recognised when using Decoder class
I'm trying to detect a keyword from a .wav file using Pocketsphinx, specifically with the decoder class. When I give it this .wav file and print what it detects it isnt even close. Here is the code:
...
0
votes
1
answer
522
views
How to change/assign the auto generated Enrollment ID to specific persons name in microsoft azure cognitive speaker identification API
I'm trying the Microsoft Speaker Identification API. There are 3 steps
In the first step, we create profiles with auto-generated ID.
Then We enroll that ID with a specific voice.
We test the new ...
1
vote
1
answer
186
views
Got an error during UBM speaker-adaptation with sidekit
I've already trained a UBM model and now I'm trying to implement the speaker-adaptation when I got following error.
Exception: show enroll/something.wav is not in the HDF5 file
I got two files "...
0
votes
0
answers
722
views
Tensorflow Audio Recognition - Training Data
I want to test out Tensorflow's audio recognition by training my own set of data. Following the instructions from the Tensorflow Simple Audio Recognition Tutorial:
https://www.tensorflow.org/...
5
votes
2
answers
4k
views
python webrtc voice activity detection is wrong
I need to do voice activity detection as a step to classify audio files.
Basically, I need to know with certainty if a given audio has spoken language.
I am using py-webrtcvad, which I found in git-...
1
vote
1
answer
3k
views
Python3 OSError: [Errno -9988] Stream closed
I'm working on voice recognition system with Raspberry pi 3B and while running some code I face some problem which is given below. I was tried so many stuffs from the internet but couldn't found some ...
2
votes
2
answers
8k
views
Python app listening for a keyword. (Like Cortana)
I'm trying to make a Python app, which behaves like Alexa, Cortana or Google's "Ok, Google".
I want it to constantly listen for a specific keyword. After it hears the keyword I want it to execute a ...
0
votes
2
answers
4k
views
Voice Recognition in Python not working?
import speech_recognition as sr
# obtain audio from the microphone
r = sr.Recognizer()
with sr.Microphone() as source:
print("Listening...")
audio = r.listen(source)
BING_KEY = "" #API KEY ...
1
vote
1
answer
1k
views
Failed to initialize pocketsphinx keyword spotting on Windows
I am attempting to get a speech recognition engine running in python using keyword detection by PocketSphinx. I installed it through pip and managed to find some code for keyword detection in an ...
5
votes
1
answer
7k
views
How can we convert .wav file to text by using pocketsphinx?
I installed pocketsphinx in my Linux machine correctly, and now I want to convert an audio file (.wave) to text by using pocketsphinx,how can i do that? is there any clear command and short command to ...
0
votes
1
answer
2k
views
PocketSphinx: Getting the probabilities of the words
I use PocketSphinx to do voice recognition. For example I use a language model like this:
Hello
Hi
World
Earth
I say "Hello world", now I want the list of the probabilities/scores of the recognition....