Questions tagged [speech-recognition]
includes technologies and methodologies for the recognition and translation of spoken language into text.
50
questions
1
vote
1
answer
57
views
Can I use raspberry pi to filter using AI and output audio
I am planning to make a device that can take a voice input and then running through a raspberry pi to filter it using AI before playing the filtered speech through speakers. Since I am relatively new ...
0
votes
1
answer
176
views
how to automatic detect song playing?
i’m planing on using a raspberry to automatically detect any song playing in a room and display it’s album art, is there a framework/api capable of song recognition? like soundhound or shazam?
1
vote
5
answers
2k
views
Problems installing DeepSpeech on a Raspberry Pi 4
I've been trying to get Mozilla's DeepSpeech installed but I keep running in to the same problem. here is the terminal output
$ pip install deepspeech
Looking in indexes: https://pypi.org/simple, ...
-1
votes
1
answer
77
views
speech recording and translate
I have a problem with convert from "wav" to "flac".
Command:
arecord -D plughw:0,0 -f cd -t wav -d 0 -q -r 16000 | flac - -s -f --best --sample-rate 16000 -o daveconroy.flac
...
0
votes
0
answers
75
views
Universal Translator
I need help with my school project.
I can't get any further with the chapter "Speech to Text or Speech Recognition with a Raspberry Pi". (see below)
When I run the script "stt.sh", ...
-1
votes
1
answer
236
views
python3 ModuleNotFoundError: No module named 'SpeechRecognition'
I am trying to use this module, but it always says that its not installed. I am trying to run the file with python3 and installed it with pip3. pip3 list shows it. No idea why it doesn't work.
import ...
2
votes
2
answers
5k
views
Connect a Microphone to Raspberry Pi Pico ADC Pins
I’d like to try using my voice as an input to my Pico. I think I should be able to define a pair of one-word voice commands, and train a Tensor Flow Lite Micro for Pico model on them.
What I can’t ...
0
votes
0
answers
50
views
Why is my microphone crackly on Raspberry Pi OS and not Windows
I recently bought a usb microphone (omnidirectional) from amazon (branded 'italk-02') for use with speech recognition. When used on Windows the sound is clear and can be used with Cortana and voice ...
2
votes
0
answers
39
views
pwmWrite() dosen't run
else if(strcmp(hyp,"MEDIUM") == 0)
{
system("espeak 'medium'");
printf("%s\n", hyp);
digitalWrite(LIGHT1, HIGH);
pwmWrite (PWM_pin1, 524) ;
}
i try to control ...
1
vote
0
answers
300
views
Is there a way to stop Pyaudio and omxplayer from printing info
I am trying to create an application which uses wakeword with snowboy and speech recognition using the speechRecognition library in Python.
When I start my scripts, when say I my wake-word - 'Python'...
2
votes
0
answers
448
views
Sound/song recognition?
I'm new to Raspberry Pi with essentially zero knowledge. I'm wondering if, with machine learning or similar, it is possible to identify a specific sound (say the first few seconds of a song). I've ...
0
votes
1
answer
2k
views
Can't use microphone with speech recognition
I'm developing a voice assistant program with python and speech recognition. On windows everything is ok and it works. But on linux i got errors.I'm running raspbian buster on pi 4.
here is the code ...
1
vote
0
answers
3k
views
ALSA Errors on Pi 3B+ using SpeechRecognition and PyAudio (Original Post missing stuff)
Using PyAudio I simply ran this piece of code:
import pyaudio
p = pyaudio.PyAudio()
for x in range(p.get_device_count()):
print(p.get_device_info_by_index(x).get('name'))
Getting these Errors:
...
2
votes
3
answers
4k
views
Raspberry Pi Offline Voice Recognition
I have been experimenting with the Raspberry Pi and creating an offline voice recognition bot to recognize the numbers 0 through 9. The software I am using to accomplish this task so far is SOPARE, ...
0
votes
1
answer
457
views
emacs: command not found problem
I'm trying to install speech recognition using sphinx engine.
I need to let the system know where my files are. To do this, you tried to edit the /etc/ld.so.conf path as the root by typing sudo emacs /...
3
votes
3
answers
6k
views
no module named 'speech_recognition'
I installed speech recognition
pip install SpeechRecognition
ran this
import speech_recognition as sr
r = sr.Recognizer()
with sr.Microphone() as source:
audio = r.listen(source)
print(r....
1
vote
2
answers
617
views
Voice recognition of just 1 word
New to Raspberry Pi - I want to create a device which upon hearing a particular word it will activate/deactivate something. E.g. if I say the word "light", it will turn on/off an LED light. The ...
3
votes
1
answer
133
views
How can I redirect input from a TV to my Pi, then send output back to the TV for automatic captioning?
I've been searching around the subject for a while, and haven't found any substantial track yet.
My aim is to build a Speech-to-Text converter that would be used to generate and display live ...
-1
votes
1
answer
652
views
How could I use Wit.ai to get speech to text on my webpage running python script
I want the speech to be recorded by raspberry, send it to wit.ai and then get the response on my page(wich is actually the .py script and according to which I could run my conditions). Actually its ...
3
votes
0
answers
754
views
Why do I get "[Errno -9985] Device unavailable" when importing speech_recognition in Python?
I'm trying to implement offline speech recognition using Raspbian Stretch.
I have been trying to do this using Speech Recognizer 3.8.1 in Python.
The recognizer works from the command line, but when ...
1
vote
0
answers
625
views
Python Speech Recognition not detecting audio in script - Audio is detected in audacity and bash
I am trying to get python speech recognition (PSR) for a basic Pi project.
I am using:
OS:
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"...
2
votes
1
answer
640
views
Installing Jasper runs on several errors
I'm trying to install Jasper with this guide.
Now i'm hanging with the following problem:
i try to use the command sudo apt-get -t experimental install phonetisaurus m2m-aligner mitlm libfst-tools, ...
0
votes
1
answer
475
views
How to run pocketsphinx_continuous (using nodejs) on raspberry pi 3 reboot?
I am using raspberry pi 3. I am using npm module pocketsphinx_continuous and it runs perfectly when I run node js code in the terminal. However, it shows 'close code error 1' when I try to run the ...
2
votes
1
answer
7k
views
Perform a task upon a voice command
I would like to do on-board speech processing (Matching of a pre-recorded voice sample [1/2 secs] with a continuously playing sound) with a Pi 3.
The Pi should give a real-time response to the ...
0
votes
2
answers
692
views
Pocketsphinx not working; Input Overflowed -9981
I am trying to use pocketsphinx in Python using the code given below:
#!/usr/bin/python
from os import environ, path
from pocketsphinx.pocketsphinx import *
from sphinxbase.sphinxbase import *
...
0
votes
0
answers
367
views
PocketSphinx - ALSA IOError: -9997 while trying to Decode Speech
I am trying to use Pocketsphinx for voice recognition. When I was trying to include it in python, using this file:
#!/usr/bin/python
from os import environ, path
from pocketsphinx.pocketsphinx ...
2
votes
6
answers
8k
views
Integration with Google Assistant
The idea is that Pi should listen for any commands with a hotword and respond with Google Assistant via my personal Google Account.
Can anybody help in this regard.
1
vote
2
answers
1k
views
Voice recognition in Raspberry Pi in custom language
I want to build a voice controlled system for very simple tasks using the RPi. Like lighting an LED or running a motor. But I want to set up the voice system in my own language and define my own ...
2
votes
0
answers
276
views
Choose Audio device for speech recognition
I got speech recognition working in a simple UWP app on my Raspberry PI3.
I also wanted to add audio output - with the onboard audio jack the sound was horrible, so I used a USB-Audio adapter. This ...
1
vote
0
answers
1k
views
using pi zero as a wireless microphone for voice recognition
I would like to be able to talk to a pi zero in one room send that audio to a Pi 3 to be interpreted there on the jasper speech recognition system and sent back to the pi zero to be executed. I would ...
1
vote
0
answers
582
views
How to enable HTML speech apis in Chromium
It looks like in the Raspberry Pi builds, the JavaScript speech apis do not work. However, no errors appear.
They work on Chromium on my laptop, but not on my RPi.
Tested on:
Ubuntu Mate, Chromium ...
3
votes
1
answer
6k
views
Using Pocketsphinx for voice control applications
After pocketsphinx recognizes a certain keyword or phrase, how do i make it trigger an action?
For example, I want to open a simple .py script from pocketsphinx
0
votes
2
answers
898
views
Training Pocketsphinx on raspberry pi 3
how do i train pocketsphinx to accurately recognize spoken letters and numbers with near 100% accuracy? What model should i adapt to recognize similar sounding letters like 'b' and 'd'?
3
votes
3
answers
7k
views
How to install Google Cloud SDK on Raspberry Pi 2 Jessie
I want to install Google Cloud SDK as I plan to use Google Voice API for a speech recognition project. However, I would like to inform me about a proper installation process. I tried to follow the ...
0
votes
1
answer
1k
views
Which ai service should I use in for my own ai raspberry pi project? And what are the best sources for learning to build an AI in raspberry Pi?
I want to start a AI project in raspberry pi as a hobby. I want to develop my own modules and in my own language.
After a short research I found different services that compatible with raspberry Pi. ...
2
votes
1
answer
2k
views
How to make speak Marathi/Hindi language in Raspberry Pi?
I'm working on speech processing project where I'm getting user voice from the mic as a input to the raspberry pi and convert to other language and again that converted text is speak by raspberry pi.
...
3
votes
1
answer
3k
views
How to create a virtual microphone that reads from a file?
TL;DR: I want to create a virtual mic on my pi to stream wav data to it from a named pipe, so apps that look for input from a mic instead of a file can receive it.
Background
I'm running ...
0
votes
1
answer
130
views
Is audio card necessary for audio input from USB webcam?
I have a WebCam for video calling. It is now hooked to my Pi and I can take pictures from it, but I just could not make the microphone work.
Many post here mentioned some USB audio card. Is it a ...
5
votes
1
answer
933
views
Speech to text conversion for Raspberry Pi 2
I'm new to this Forum as well as using Raspberry Pi 2 for the first time. I'm currently making a learning device for a blind person. My project requires text-to-speech and speech-to-text conversion to ...
4
votes
0
answers
449
views
Speech Recognition ERROR
I am using a speech recognition library on a Raspberry Pi in Python that I found here and I installed it through pip. I also had to install Pyaudio of their site here. Pip would not work for Pyaudio ...
1
vote
1
answer
10k
views
SpeechRecognition / PyAudio OSError: [Errno -9997] Invalid sample rate RaspberryPI2
Trying to just run the example code from SpeechRecognition (python 3.4.2) and it immediately fails when trying to create the Microphone class:
import speech_recognition as sr
# obtain audio from the ...
2
votes
2
answers
3k
views
Recorded Audio not recognized by Google Speech API
I've looked at several tutorials/examples of setting up Speech to Text from command line but I can't figure out what my problem is. This is the example I have followed most closely: Raspberry Pi voice ...
1
vote
1
answer
671
views
Having trouble starting Jasper in RPi 2
I just finished installed Jasper in a RPi 2, Im using google's TTS STT, and when I'm trying to run the service
$/home/pi/jaspter/jasper.py
I get the following error:
No handlers could be found for ...
0
votes
1
answer
3k
views
Raspberry pi with python speech_recognition having error
I have a raspberry pi model B, running speech_recognition 4.1 and pyaudio 0.2.8, and I am using a Logitech usb mincrophone. When I try and start speech recognition using with sr.Microphone() as source:...
2
votes
1
answer
1k
views
Voice recognition on arduino or raspberry pi?
I am trying to do a project with voice recognition. Which platform is better for voice recognition Arduino or Raspberry Pi? And why?
0
votes
1
answer
4k
views
How to make PocketSphinx use ALSA? (instead of pulseaudio or jack)
I've been struggling to make pocketsphinx work with the audio system of my raspberry pi. As stated in pocketsphinx's website, one of the steps to build it for a raspberry pi is to execute this:
./...
4
votes
4
answers
3k
views
Speech Recognition
I'm making a project that requires the user to control the computer through speech. I've seen a couple of libraries, for python, that can do this but most of the ones that I have seen are windows only....
45
votes
7
answers
46k
views
Speech processing on the Raspberry Pi
I want to do speech processing on Raspberry Pi to detect specific people (something like unique identification).
I would prefer to use only the on-board processor for this, you could assume that ...
2
votes
0
answers
2k
views
Python having trouble accessing usb microphone via Gstreamer to perform speech recognition with Pocketsphinx on a Raspberry Pi [closed]
So python is acting like acting like it can't hear ANYTHING from my microphone at all.
Here's the problem. I have a Python ( 2.7 ) script that is suppose to be using Gstreamer to access my microphone ...
1
vote
1
answer
3k
views
Using PocketSphinx with Blue Microphone on RPi
I'm trying to compile PocketSphinx and use it to do voice recognition from a Blue Snowflake microphone. The code compiles fine, but when I try to run it, I get the following error:
pi@raspberrypi ~/...