Git Product home page Git Product logo

Comments (4)

kenarsa avatar kenarsa commented on May 27, 2024

whats the platform?

from rhino.

jalen-launchpad avatar jalen-launchpad commented on May 27, 2024

Oh sorry - Android!

from rhino.

jalen-launchpad avatar jalen-launchpad commented on May 27, 2024

I don't know if this is by design or not, but switching between the rhino and porcupine high-level managers is what gave the status code issue. I made sure to run porcupineManager.stop() or wait until the end of rhinoManager's callback before running porcupineManager.start() or rhinoManager.process(), but still got the error message.

I got the rhino chaining to work as intended by rewriting parts of the PicovoiceManager file from the Picovoice SDK, but using both high-level managers didn't work as I expected. If I'm not the only one who ran into this issue with using both high-level managers, might be a nuance to consider for documentation.

from rhino.

laves avatar laves commented on May 27, 2024

Glad you managed to make it work for you!

One note: we would not recommend running a PorcupineManager and RhinoManager back-to-back within the same app. The reason is exactly as you pointed out - it will cause issues with audio session sharing/syncing. Over in the Picovoice repo, we offer PicovoiceManager which combines the two engines with an audio manager. If you have a custom arrangement of the engines, like your use-case, we would probably recommend separating the audio code and the speech engines. In general, it's better practice to manage your app's audio from one point when possible. We'll add this to docs - thanks!

from rhino.

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.