Comments (4)
whats the platform?
from rhino.
Oh sorry - Android!
from rhino.
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.
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)
- Required help to make expression in Rhino HOT 1
- Request for adding words to Polish HOT 5
- Voice Interaction and External Microphone Integration HOT 1
- Support for Raspberry 1 and Pi Zero dropped?
- Rhino Issue: Vue and Web demos: Node runtime error in script "start" HOT 3
- Rhino Issue: No method RhinoInference HOT 4
- ACTIVATION_LIMIT_REACHED during evaluation without network traffic HOT 1
- Picovoice Documentation Issue (/docs/quick-start/rhino-react-native/) HOT 4
- Add Support for Orange Pi 3B Board HOT 7
- How to dynamically configure training files? HOT 1
- Rhino Issue: initialization error when use 3.0.0 params.pv HOT 4
- 3.0 Rhino Issue: does not detect old library grammar during initialization HOT 2
- Rhino Documentation Issue HOT 1
- Way to add multiple contexts? HOT 3
- Query on Using Latest Rhino Context Files with Older Library Version for Personal Project HOT 1
- Can Rhino simply returnwhat is spoken HOT 1
- Able to generate rhn context files from the client? HOT 1
- Console account deleted HOT 1
- Multiple Rhino Model Files HOT 1
- Rhino V2.1 and Rhino Context V3.0 libraries are not compatible HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhino.