680
questions
0
votes
0
answers
17
views
How to train GMM-HM to create an acoustic model in speech recognition
I want to understand how the GMM-HMM acoustic model is trained, which can output a sequence of phonemes from an input audio recording containing speech. If you look at the training datasets (for ...
1
vote
0
answers
10
views
Sphinxtrain: Unable to lookup word that exists in the dictionary
I'm adapting a sphinx model for Brazilian portuguese with my own data by following their tutorial and got stuck on the bw command in the "Accumulating observation counts" section. I made ...
1
vote
0
answers
41
views
UnicodeDecodeError when Transcribing Live Audio using Sphinx in Python
I am trying to transcribe a live playing audio, but I am getting the following error when decoding,
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
import ...
0
votes
0
answers
48
views
Impossible to pip install pysphinx
I am trying to use Pysphynx to run the following speech-to-text transcription code. It seems that there is just no way to install pysphinx, I get the standard error message:
ERROR: Could not find a ...
0
votes
2
answers
98
views
Python return statement never reached but prints immediately before it
I am trying to call a take_command() function from main.py.
The system prints the value right before the return call, but doesn't actually return the value to main.py. The take_command() function was ...
0
votes
2
answers
2k
views
Cannot install libpulse-dev in Ubuntu
I like to use PocketSphinx speech recognition engine. For that, libpulse-dev is one of the dependencies. However, I cannot install libpulse-dev in my system.
I used the following command to install ...
0
votes
1
answer
394
views
How to run wake word detection with pocket sphinx on iOS?
I try to run the wake word detection from pocket sphinx on iOS. As base I used TLSphinx and the speech to text works (not good STT, but it recognizes words).
I extended the decoder.swift by a new ...
0
votes
1
answer
47
views
How could I change the time before the speech result is closed CMUSphinx4
I want to change the time before the speechresult is closed.
For example,
If I say "Hello", and then wait a second before saying "Hi", they will be 2 separate speech results. If I ...
0
votes
0
answers
1k
views
Failing to open audio device (/dev/dsp)
I am using pocketsphinx to adapt my acoustic model which i have trained.
So to use the model in pocketsphinx, i ran the following command:
pocketsphinx_continuous -inmic yes -lm "/home/ridwan/...
1
vote
0
answers
55
views
Getting Warnings when doing Batch Build on a solution on Visual Studio
I have a solution with 30 project inside.
I have rebuild the solution with the 30 projects successfully.
However, when I click on Batch Build... and by selecting all to build, I get 360 Warnings.
Here ...
1
vote
1
answer
72
views
"sphinx_fe.c", line 133: Number of channels 2 does not match configured value
i am trying to create speech recognizer for my native speaking language(Serbian) i followed steps described in this documentation https://cmusphinx.github.io/wiki/tutorialam/ and when running command
...
1
vote
1
answer
447
views
Getting started with Speech Recognition and Sphinx
Sphinx seems to be only real option for Java speech recognition. Documentation is sparse and it requires a high-level of domain knowledge. I used their example of a starting program and it works ...
0
votes
0
answers
1k
views
How to fix java.lang.module.findexception and java.lang.IllegalArgumentException
I've been trying to make a speech recognition program with CMU sphinx- and sphinx-5 real alpha. I am doing this following a tutorial on youtube https://www.youtube.com/watch?v=R8vsXKFTee0&t=216s.
...
0
votes
0
answers
58
views
Android / PocketSphinx: listener goes in standby a while after screen goes off
I made a simple app that responds to vocal commands using PocketSphinx to understand commands and standard Google's library to speak, in a sort of conversation.
It's working well but I have a problem ...
1
vote
0
answers
267
views
CMUSphinx simplest keyword "wake word" example?
New to the whole sphinx4 world. Trying to get a "wake word" hello world app running off a raspberry pi 3 / Kotlin.
I think this means pocketsphinx is out because it is only android...
The ...
1
vote
1
answer
930
views
use your trained language model in recognize_sphinx() using python with pocketsphinx
I've trained my langue model with cmu sphinx and now I want to use it in speech recognition using python script. How to change the default language model or how to use the trained model in ...
0
votes
1
answer
532
views
pocketsphinx - Not running
I installed pocketsphinx using pip command
pip install pocketsphinx
i referred the link pocketsphinx installation
then i add a test.py and add code like this
from pocketsphinx import LiveSpeech
for ...
1
vote
1
answer
539
views
Offline Automatic Speech Recognition(ASR) In Android with maximum accuracy
I am looking for ASR in android with maximum accuracy and went through some implementations as follows
Android Recognizer(Native Android)
Sphinx
Tensor flow lite
KeenASR
kitt.ai
Need some inputs ...
2
votes
0
answers
635
views
How to detect filler sound like um, uh, etc using cmusphinx/mozilla deepspeech/google stt etc?
I am working on a project in Speech Recognition and the task is to detect filler sounds like um, uh, eh, etc. on audio clips of children/students speaking in English. Their speaking English is not ...
1
vote
1
answer
440
views
Debugging speech recognition of custom word PocketSphinx.js
QUESTION: I am looking for a debugging tool/method that I can use to discover what the problem is when PocketSphinx.js does not recognize a custom word I have defined. Specifically, I would like to ...
1
vote
0
answers
249
views
Sphinx4 StreamSpeechRecognizer In Real Time
I'm trying to record audio at a client, send it to a "server," and then use speech-to-text at the "server" with Sphinx4. My code:
public class SoundModifier implements Runnable
{
private static ...
1
vote
0
answers
566
views
python CMU Sphinx with grammar
I trying to run this example from : https://github.com/Uberi/speech_recognition/blob/master/examples/special_recognizer_features.py
But when the grammar is loaded and try to create the fsg file is ...
1
vote
0
answers
264
views
PocketSphinx OSError: [Errno -9981] Input overflowed PyAudio
First I want to tell the tools that I use:
*1. Raspberry pi 3b+
ReSpeaker 4Mic Array Circular (Mic)
Linux Debian "Buster"
Thonny Python IDE*
My problem is every time I try to run my code, it always ...
0
votes
0
answers
187
views
Allowing Microphone Access for Cinder CMake Project
I am creating a game which requires microphone input using the Cinder library. I am using CLion with CMake as my build system, but I am pretty new to CMake. The app is unable to access the microphone ...
1
vote
1
answer
61
views
CMUSphinx with custom features
I'm trying to train a new accoustic model for speechrecognition, with custom features. Is it possible to feed the feature matrix instead of wav file into CMUSphinx for training? I have tried searching ...
2
votes
1
answer
3k
views
Installing Pocketsphinx on Windows 10
I am trying to install pocketsphinx on Windows 10. I have downloaded pocketsphinx and sphinxbase, built them both, and put sphinxbase.dll into the pocketsphinx bin. However when I copy and paste the ...
1
vote
0
answers
612
views
Continuous Speech Recognition from pocket-sphinx-android-demo
I am trying to get continuous speech recognition working using pocketsphinx. I tried following their tutorial (https://cmusphinx.github.io/wiki/tutorialandroid/), although to me it is somewhat vague ...
0
votes
0
answers
29
views
Change input source for Swing Dialog
I am trying to write some speech recognition program with Sphinx, recognition works well. But when in UI Swing dialog coming, it is waiting for some input from the keyboard and it blocks further ...
1
vote
1
answer
317
views
Pocketsphinx Build small vocabulary model
I want to build a small vocabulary model in german for pocketsphinx (.lm) which can only recognize the german numbers from 0-9. Using the Voxforge de-de model the performance was VERY bad (nearly no ...
1
vote
0
answers
164
views
Perform Speech-to-Text in Python using pre-transcribed text as guide
I'm working on a python application that's meant to align video clips based on what actors are saying on screen.
As an example, I have a scene where actors are reading dialogue from a script. They do ...
1
vote
3
answers
2k
views
library pocketsphinx not downloading using pip or binary files
I am working on a speech recognition software and wanted to test out pocketsphinx and have tried to install it using pip on windows 10 python version 3.8 and it wont download usually i would fix the ...
1
vote
1
answer
64
views
What does the parenthesis mean with a cmusphinx result?
My output is:
['<s>', 'does', 'any', '<sil>', 'unable', 'to(3)', 'bear', 'the', 'senate', 'is', 'touching', 'emotion', 'turned', 'away', '<sil>', 'and(2)', 'ill', 'afford', '<sil&...
1
vote
0
answers
192
views
Windows 10 server ffmpeg configuration
FF-MPEG Run-time execution in java not running in windows 10 server.I Have test with my system its working perfectly but in windows 10 server not works.i have also gives the environment variable path ...
1
vote
2
answers
5k
views
How do I convert audio format from mp3 to wav in iOS using Swift?
I am using cmusphinx in iOS using Swift, and cmusphinx uses audio files in wav format, while the files I need to use are in mp3 format.
How do I convert audio files of mp3 format to wav format in iOS ...
0
votes
0
answers
134
views
Sentences Recognition Using CMU Sphinx
enter image description hereI am a researcher, and I am making speech recognition system using CMU Sphinx. I have succesfully trained words of Sindhi Language with very low accuracy. Now I wanted to ...
0
votes
0
answers
174
views
How to only detect keywords with continuous recognition for Sphinx4 in Java desktop application?
I am new to Sphinx and I have read about the various examples used across the multiple programming languages that allows for continuous voice recognition. I am trying to figure out the best way to do "...
4
votes
2
answers
107
views
TLSphinx cmusphinx pocketsphinx Hypothesis result text empty string score negative (-) number
I ran the sample code in the readme file at tryolabs/TLSphinx README.md, and the result of the text property of the Hypothesis is whitespace, while the score property is a negative number of -4420.
...
0
votes
0
answers
257
views
Xcode compile error: Command Lex failed with a nonzero exit code
I am getting an error message in Xcode for an iOS project during compile time pertaining to the file 6844.lm in my project that says:
Command Lex failed with a nonzero exit code
What is Xcode ...
0
votes
0
answers
38
views
build_iphone.sh: line 52: /Users/.../pocketsphinx-master/configure: No such file or directory
I'm on macOS Mojave in terminal, and I'm getting an error that says no such file or directory for the directory ".../pocketsphinx-master/configure" when I run build_iphone.sh, which I got from this ...
1
vote
0
answers
514
views
ERROR: "acmod.c", line 79: Folder '/...' does not contain acoustic model definition 'mdef' - cmusphinx - TLSphinx
How do I fix this?
I am trying this wrapper to pocketsphinx with their example codeexample code.
Here is that code in my Xcode iOS project in Swift:
let hmm = "/Users/shinehah/Documents/cmusphinx/...
0
votes
1
answer
458
views
Could not find module 'TLSphinx' for architecture 'arm64'; found: i386
I am using the TLSphinx from GitHub with my Xcode Swift iOS Project. I had built the TLSphinx project before I used the framework.
I had been given incomplete and confusing instructions from ...
0
votes
0
answers
53
views
Compling makefile of CMU Pocketsphinx with Swing
I am trying to port PocketSphinx to C#. they already have makefile that I need to run. When I run the makefile, I get below error
Here is the makefile link.
I obtained the following error message.
...
0
votes
1
answer
631
views
Matching All Substrings in JSGF Grammar
I am using a jsgf format grammar with pocketsphinx. I want to be able to match/recognise a only a finite number of possible input sentences (i.e. a command and control type interface).
However, due ...
1
vote
1
answer
385
views
CMUSphinx Training acoustic model very low accuracy
I've followed tutorial https://cmusphinx.github.io/wiki/tutorialam/ to train a new acoustic model for my Vietnamese language. Simply, I've recorded digits from 0 to 9 to train and also used these ...
2
votes
1
answer
109
views
Speech-to-text number capture
Is there a method for capturing spoken numbers via using cmusphinx?
Poking around in the cmudict-en-us.dict file I find the following,
forty F AO R T IY
forty-five F AO R T IY F AY V
fifty F IH F T ...
1
vote
1
answer
4k
views
how to perform continuous speech to text on webrtc communication audio stream in mobile app
I am trying to add a continuous speech to text recognizer in a mobile application during a webrtc audio-only call.
I'm using react native on the mobile side, with the react-native-webrtc module and a ...
0
votes
0
answers
59
views
How to do isolated word recognition using pocketsphinx
I tried to follow this link for isolated word recognition
Speech to text for single word
But when I am providing -keyphrase, it is giving me the result (keyphrase word) even if I am giving a wrong ...
0
votes
0
answers
617
views
Ways to improve recognition speed of C# System.Speech.Recognition even at the cost of accuracy? Creating live phoneme recognizer
I'm creating a small application that requires a live feed of phonemes to be output as the user speaks into their microphone. In my case, the speed of the recognition output is the number 1 priority, ...
2
votes
1
answer
122
views
How to setup cmusphinx with lua?
So I wanted to go about designing an add-on for a game I play, World of Warcraft and the game uses Lua scripts. The add-on involves speech recognition. I found a library that apparently adds voice ...
0
votes
1
answer
87
views
Do I need to add updated phoneme sequence of words to .dict file while adapting AM using cmusphinx?
I am trying to adapt en-us acoustic model with indian english accent recordings. Since many words are pronounced in different accent, do I need to add the updated phoneme representation of words? ...