New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementing Speech-To-Text Service for other Apps #100
Conversation
Thank you!
|
Thanks for your feedback.
|
Hi, PS: I left two "TODO" annotations. They are not really relevant, as all the apps I tested are not using these extra parameters (and even if they would be used, they are only an additional help but not required to use from the speech recognition). However, they are designed by android to be available, so if there is a possibility to pass this extras to the vosk speech engine, it may be helpful to add it. Therefore, I left them as a reminder so that this does not have to researched again. If this disturbs the code, I can remove them. |
@nebkrid thank you for the research! I really appreciated it. I opened #109 based on your implementation, but instead of creating a skill like you did, I created a separate stt activity that can popup on top of apps. I would like you to take a look at #109 and tell me whether it's fine, if you have some time. Thanks :-) |
Thanks for your feedback, indeed the separate activity is much more beautiful. Luckily I already had time today to look on it. I added two small things - and if I correctly figured out how to work together with github, these should now pop up in your #109 (otherwise please let me know how to best merge this :) ) |
Implemented export of Speech-To-Text functionality for other Apps, which can call this by "startActivityForResult" with an "Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH)"
Extra "RecognizerIntent.EXTRA_PROMPT" is implemented