voice
voice copied to clipboard
Is it possible to listen for specific word?
Dear community,
I'm building an android app with React native. This package is working well to capture voice. But I want the device to listen always and trigger an event after saying a specific word (like "Hello myapp!").
I've tried, https://github.com/spokestack/react-native-spokestack But it's not working.
Any help is greatly appreciated.
Hi,
I don’t understand your question ? To find a specific word you start the voice recognition and you .find the result ? Or I misunderstood your need.
Best regards
@LudoLamerre Thank you.
I actually want this,
- Open the app.
- I'm saying anything .. etc etc .. just casual talking.
- But if I say any specific word, like 'Hello app', the app should trigger an event after saying this.
Is it clear enough?
Yes, ok. 🙂 I'm not an expert of this package but do you try to launch the Voice.start() when your app is started, and run a function who check if the word is present when the results state change. If the word is find you trigger an event and if not you have to handle the useless part of result. But I don't know if it is the best way to do this because continuously listening to the user requires running the speech-to-text algorithm continuously and I think it's a bit heavy.
Good question and i want to get answer too. Would be great if package developer answers himself. I think question is clear: How to start listening by saying command word, like hey Google or Alexa.
I think question is clear: How to start listening by saying command word, like hey Google or Alexa.
You cannot activate listening, after hearing a word ... You have to listen before you can hear ... Google and Alexa listen continuously to be able to pick up certain words and launch the voice that awaits a sentence to be processed
I understand, thank you @LudoLamerre
I think question is clear: How to start listening by saying command word, like hey Google or Alexa.
You cannot activate listening, after hearing a word ... You have to listen before you can hear ... Google and Alexa listen continuously to be able to pick up certain words and launch the voice that awaits a sentence to be processed
Can we do the same with this lib, pick up certain words and open a modal
it's a very nice question I'm really interested if you got an answer please inform me thank you
@LudoLamerre Thank you.
I actually want this,
- Open the app.
- I'm saying anything .. etc etc .. just casual talking.
- But if I say any specific word, like 'Hello app', the app should trigger an event after saying this.
Is it clear enough?