Skip to content

Enable SpeechRecognizer API#154

Open
davecraig wants to merge 1 commit intofuto-org:masterfrom
davecraig:master
Open

Enable SpeechRecognizer API#154
davecraig wants to merge 1 commit intofuto-org:masterfrom
davecraig:master

Conversation

@davecraig
Copy link

This has limited testing simply to confirm that it works with my own app which uses the SpeechRecognizer API. The main stumbling block was that it initially refused to startListening due to a lack of RECORD_AUDIO permissions, despite the fact that the permissions were in fact correct. This led to the change in AudioRecognizer where it calls setContext(). Other than that, it's simply wiring things together.
Response time is around 3-5 seconds for short pieces of speech e.g. voice commands. That not ideal but is potentially better than having no voice commands.

This has limited testing simply to confirm that it works with my own app which
uses the SpeechRecognizer API. The main stumbling block was that it initially
refused to startListening due to a lack of RECORD_AUDIO permissions, despite the
fact that the permissions were in fact correct. This led to the change in
AudioRecognizer where it calls setContext(). Other than that, it's simply wiring
things together.
Response time is around 3-5 seconds for short pieces of speech e.g. voice
commands. That not ideal but is potentially better than having no voice commands.
@futo-cla-pr-labler
Copy link

Please sign our contributor license agreement at https://cla.futo.org

@futo-cla-pr-labler
Copy link

Please sign our contributor license agreement at https://cla.futo.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants