GithubHelp home page GithubHelp logo

Comments (3)

vsrisuknimit avatar vsrisuknimit commented on July 30, 2024

I have pretty much the same problem here. I could not avoid the problem with python try-except clause. The problem happens only when I try to use wit.voice_query_auto but leave it on without speaking for over 5-6 seconds.

Does anyone have an idea or solution?

[wit] ready. state=idle
formats: no handler for given file type `alsa'
[wit] couldn't open input device using alsa. Trying with coreaudio...
[wit] initialized recording device
[wit] rate: 44100, channels: 2, encoding: SOX_ENCODING_SIGN2, bits_per_sample: 32, opposite_endian: SoxFalse
[wit] ready. state=recording
[wit] received true
[wit] error while sending: Some([3, 10, 3, 10, 5, 213, 5, 213, 4, 110, 4, 110, 3, 128, 3, 128, 4, 48, 4, 48, 0, 236, 0, 236, 3, 29, 3, 29, 3, 40, 3, 40, 4, 74, 4, 74, 4, 238, 4, 238, 5, 65, 5, 65, 4, 223, 4, 223, 4, 238, 4, 238, 2, 91, 2, 91, 1, 186, 1, 186, 0, 234, 0, 234, 1, 182, 1, 182, 4, 59, 4, 59, 2, 53, 2, 53, 3, 27, 3, 27, 0, 152, 0, 152, 0, 141, 0, 141, 255, 76, 255, 76, 0, 34, 0, 34, 1, 69, 1, 69])
[wit] done
[wit] stopping mic

from pywit.

blandinw avatar blandinw commented on July 30, 2024

We moved away from audio recording and streaming because:

  • many people only needed access to the HTTP API, and audio recording did not make sense for server-side use cases
  • dependent on platform, choice best left to developers
  • forced us to maintain native bindings as opposed to a pure Pythonic library

from pywit.

tomchambers2 avatar tomchambers2 commented on July 30, 2024

@blandinw am I right in thinking that there isn't now a way to have Wit always listening?

from pywit.

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.