On this fine day of Teacher’s Day, my mentor from Aditi asked me if I know any samples on creating a simple app for Speech to Text recognition in Android. I searched on the net but did not find much result. So then I thought, why not I create a sample, push it in Git and send him the link.
So after an hour the sample was done and pushed to Git. Xamarin allows the use of Android APIs to be utilized in a very easy way.
In just few lines of code I was able to use the RecognizerIntent to launch an activity that will prompt the user for speech and send it through a speech recognizer. The results will be returned via activity results in the event handler OnActivityResult.
The sample can be downloaded and used as is from here.
Latest posts by Anubhav Ranjan (see all)
- Use TOTP for securing API Requests - July 12, 2024
- Backup Files from Ubuntu to Azure - December 14, 2023
- Read Gzip Log Files without Extracting - June 13, 2023
Hi I am working on https://developer.xamarin.com/guides/xamarin-forms/dependency-service/text-to-speech/ sample.
I am looking for text-to-speech complete/Done event.
Please can you guide or request to provide me any sample application link.
Thanks in advance
Regards
Kapil
Pingback: Roque Santa
can you please say me on , how to pass an audio file & then convert that to text ?!
Nice Article, thanks a lot!
I am glad you liked it. 🙂
Hello, can we do video voice to text convert with this method ? i want to learn, can we convert to video sound speech to text ? so our sound source for speech to text, can be a video or wav file ?
It’s a nice idea though, I have not tried it yet.