Questions tagged [pocketsphinx-android]

PocketSphinx is a lightweight speech recognition engine, specifically tuned for handheld and mobile devices, though it works equally well on the desktop.

CMUSphinx is an open-source toolkit for speech recognition. Pocketsphinx is one of the decoders provided by CMUSphinx specifically targeted on mobile platforms like Android.

This tag is for questions related to problems running Pocketsphinx decoder on Android platform.

To get more information on pocketsphinx on android, see https://cmusphinx.github.io/wiki/tutorialandroid/.

109 questions
1
vote
1 answer

Configure pocketsphinx keyword search without a file

I know that the method addKeywordSearch is available. However, it requires the creation of a file. In my case, that creates some overhead in my app which I am trying to avoid. I have been trying to find documentation on the website, but its very…
user3542552
  • 168
  • 8
0
votes
1 answer

Pocketsphinx for android install on windows

Where can I find a step-by-step solution for my problem? I saw the demo, I checked the tutorial. I couldn't find find jar or aar file. I've downloaded tar folder, I cannot run any files in there with my visual studio, so what should I do?
0
votes
0 answers

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 and I'm unable to undesrtand what's happen: after…
0
votes
1 answer

Pocketsphinx android demo with arabic model doesn't work as the pc model

I'm working on pocket-sphinx android demo .. I have tried my model on the PC .. but on the mobile it is not as good as the PC .. I thought of modifing the code to insert an audio file instead of recording from the mic of the mobile . Can anyone…
0
votes
0 answers

Android command line sdkmanager tool not finding licenses for new packages

I have downloaded and unzipped the linux command line sdk and have downloaded the Android SDK Build-Tools 25.0.2 and Android SDK Platform 25 components as required by the Gradle build I am trying to run. When I try and accept the new associated…
Allen More
  • 858
  • 3
  • 14
  • 25
0
votes
0 answers

Why is the Pocketsphinx wakeup word detection getting worse over time?

I use Pocketsphinx for wakeup word detection in my Android app. After initializing pocketsphinx and after start listening via private void setup() { try { final Assets assets = new Assets(ListeningActivity.this); final File…
jochen6677
  • 119
  • 4
0
votes
1 answer

how to use pocketsphinx in android for multiple keyword activation without going to menu

I want pocketsphinx to listen for certain keywords and do respective actions instead of going to the menu like their demo app. I have three keywords private static final String KEYPHRASE1 = "good morning"; private static final String KEYPHRASE2 =…
0
votes
0 answers

pocketsphinx NullPointerException in onBeginningOfSpeech() but the object is not null

I'm using the below code to start listening on my device for voice commands but as soon as I call SpeechRecognizer.StartListening() I get a NullPointerException. Here is the full error: Java.Lang.NullPointerException: Attempt to invoke interface…
Blair Holmes
  • 1,521
  • 2
  • 22
  • 35
0
votes
1 answer

pocketsphinx android - returning same word for every different spoken word

I have downloaded the pocketsphinx-android-demo from Github and did some modifications for my own purpose. I have created a new my-en-us.dict (dictionary) file for my app specific words and added below words hey HH EY smarty S M AA R T IY login L…
0
votes
1 answer

Understanding pocketsphinx keyword list file format

I'm testing an app based on the demo avaialble on GitHub using the Spanish language model in which I want it to continuously listen for a small set of keywords and act accordingly, however I'm still an amateur on this subject. My main questions…
0
votes
1 answer

Open an app using voice recognition (PocketSphinx)

I want to create a voice recognition app in android and run it in service so i can use it even without in the app. So i looked for reference and i found in GitHub a demo app. This is the site https://github.com/ihrupin/SpeechRecognitionService I…
0
votes
1 answer

How to extract MFCC features in PocketSphinx

I am using the PocketSphinx Demo project for my hot word detection Android app and now I'd like to extract the MFCC features. Is it possible to do so with PocketSphinx? Also, I've read many posts about using Sphinx 4 for Android, some say it can be…
0
votes
1 answer

Unsupported major.minor version while running pocketsphinx-android-demo

I am trying to run Pocketsphinx demo program in android The tutorial tells us to load the project from Github directly In order to obtain the demo in the IDE, please select to checkout a project from VCS, select GitHub and enter the project…
user13267
  • 6,871
  • 28
  • 80
  • 138
0
votes
0 answers

Android-speech-api + pocketsphinx android cause ERROR_SPEECH_TIMEOUT

After listening for a keyword (using pocketsphinx) i try to start the google speech recognizer but getting many calls of onRmsChanged() with negative numbers and than get the…
adi181188
  • 23
  • 5
0
votes
0 answers

Android PocketSphinx Hijacks microphone

So I installed Pocketsphinx on my app and the keyword function is working great. I followed this tutorial https://cmusphinx.github.io/wiki/tutorialandroid/ for my setup. The problem I have is that it hijacks the microphone so you can no longer use…