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

Speech to Text #553

Closed
joelthe1 opened this issue Jun 13, 2022 · 4 comments
Closed

Speech to Text #553

joelthe1 opened this issue Jun 13, 2022 · 4 comments
Labels

Comments

@joelthe1
Copy link
Contributor

Speech to Text

Ability to convert speech to text within the Audio Recorder Mode via APIs.

@joelthe1 joelthe1 added the Epic label Jun 13, 2022
@sijumoncy
Copy link
Contributor

Findings
-Web Speech API is the one thing help to convert Audio (microphone input) to text real time in JS. But I am not able to find an option to pass a audio file directly to it and generate a text from it

@joelthe1
Copy link
Contributor Author

joelthe1 commented Dec 7, 2022

It does look like we can't feed in files: https://stackoverflow.com/questions/46267816/is-there-a-way-to-use-the-javascript-speechrecognition-api-with-an-audio-file

I think we can design the UI so that it works only when the user is actually recording from the mic. In the future, we plan to shift to using Vachan API to power this for us.

@sijumoncy
Copy link
Contributor

sijumoncy commented Jan 4, 2023

Implementing speech to text using the web speech recognition api is not possible in Electron JS. We have tried with different implementation in our app but nothing makes it worth. According to discussion in the web shows the feature of speech recognition is disable in chromium ( electron using chromium ) and web speech recognition api only work in browser.
We have tired in the dev version of autograpaha web with same implementation and found working . We are not able to find anything useful to make the same working in electron yet.
image

Work around code as draft PR for reference : #741

@vipinpaul
Copy link
Contributor

Since this can't be added to the electron app, we have added the feature to the Audio recorder RCL - https://recorder-rcl.netlify.app/#/SpeechToText

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants