Giter Club home page Giter Club logo

Comments (4)

nshmyrev avatar nshmyrev commented on June 20, 2024

https://github.com/cmusphinx/pocketsphinx/blob/master/swig/python/test/kws_test.py

contains pyaudio example.

from pocketsphinx-python.

cfwelch avatar cfwelch commented on June 20, 2024

Hi,

Thanks for the example. I've tried to run this and it gets to a point where it is just outputting things like this:

INFO: cmn_prior.c(116): cmn_prior_update: to < 60.80 -9.63 15.42 24.64 -11.65 22.93 -0.86 -14.32 -4.19 -28.97 -22.39 -29.66 -30.96 >
INFO: cmn_prior.c(99): cmn_prior_update: from < 60.80 -9.63 15.42 24.64 -11.65 22.93 -0.86 -14.32 -4.19 -28.97 -22.39 -29.66 -30.96 >
INFO: cmn_prior.c(116): cmn_prior_update: to < 63.61 -10.68 17.65 27.64 -14.80 29.81 -6.41 -10.70 -4.91 -33.42 -20.50 -34.30 -30.04 >

and it never outputs a hypothesis. Do you know why this might be happening?

Thanks again,
Charlie

from pocketsphinx-python.

nshmyrev avatar nshmyrev commented on June 20, 2024

You can add -rawlogdir <dir> to configuration to dump raw files. You can listen them to get an idea what is being recorded.

Most likely audio format is wrong, something like big endian instead of little endian or wrong sample rate.

from pocketsphinx-python.

sajith91 avatar sajith91 commented on June 20, 2024

hi , I know this an old question. But i want to know how to do " add -rawlogdir

to configuration to dump raw files" which you have mentioned above.

from pocketsphinx-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.