Menu

PocketSphinx is not working properly on samsung galaxy s7

Help
2017-06-19
2017-06-19
  • Shrikant Bondre

    Shrikant Bondre - 2017-06-19

    Hello,

    I am working on the pocket sphinx-android-demo app.
    Is there any problem in speech recognition specific to SM-G930V device?
    Sometimes it recognizes the word properly sometimes not, the onTimeOut method is getting called even if we are giving voice commands loudly.
    I have set keyword threshold to 1e-10f.
    The Same application is working properly on other devices.

    I appreciate any help on this.

     
    • Nickolay V. Shmyrev

      Most likely some Samsung voice assistant is running on background, you need to disable it.

       
  • Shrikant Bondre

    Shrikant Bondre - 2017-06-20

    Nickolay,

    Thanks for your reply.
    But with samsung voice assistant, do yo want to say voice assistant (talk back) feature under vision option in settings -> accessibility or do you want to say "s voice" application?

     
  • Shrikant Bondre

    Shrikant Bondre - 2017-06-23

    Hi Nickolay

    I have disabled all the applications related to voice assistant on my device SM-G930V, but still I am facing same problem.

    In the logs, it is saying started decoding, I am giving voice commands loudly but after 15 seconds the onTimeout methos of SpeechRecognizer is getting invoked.

    Do I need to set additional parameters in SpeechRecognizerSetup?

    Please help.

    Thanks.

     
    • Nickolay V. Shmyrev

      Check the raw audio files created on sdcard if they are silent of if they contain some sound. Try to modify SpeechRecognizer class to use VOICE_COMMUNICATION instead of VOICE_RECOGNITION channel for AudioRecorder.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.