Skip to content
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

Microphone support #7

Open
flplima opened this issue Aug 31, 2020 · 0 comments
Open

Microphone support #7

flplima opened this issue Aug 31, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@flplima
Copy link
Owner

flplima commented Aug 31, 2020

What would you like to be added:
Integration with Web Speech API

Why is this needed:
It would be really cool if we could talk to Laika using the device's microphone just as it is with most personal assistants.

How to do it

  1. Replace the "Send" button in the React app with a microphone button when there is no text entered by the user
  2. When clicking on the "Microphone" button, activate the Web Speech API to recognize the device's audio and transform it into text.
  3. When you release the "Microphone" button, take the generated text and send it as a text message normally.

Links that can help:

https://www.google.com/intl/en/chrome/demos/speech.html

https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API/Using_the_Web_Speech_API

https://tutorialzine.com/2017/08/converting-from-speech-to-text-with-javascript

@flplima flplima added the enhancement New feature or request label Aug 31, 2020
@flplima flplima changed the title Integração com Web Speech API Microphone support Aug 31, 2020
@flplima flplima added the good first issue Good for newcomers label Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant