Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can i convert an mp3 file to text in ANDROID?

Tags:

text

android

mp3

does Android support the capability of converting an mp3 file that includes speech into their appropriate words and then write the results in TextView or Toast or anything??

I am not talking about using Speech Recognizer!! i mean the file in mp3 has to be picked from sd not recorded and analyzed in realtime ??

Thanks!!

like image 820
Nour Mohamed Mansour Alkaloof Avatar asked Oct 23 '25 15:10

Nour Mohamed Mansour Alkaloof


2 Answers

I had same issue as yours. I changed my speech API from Google to Bing(Microsoft-Bing speech API). Bing speech API has well documentation for Android Studio and they are also giving sample code. Link for Bing Speech API

like image 89
kwaghela Avatar answered Oct 26 '25 06:10

kwaghela


With the android SDK you can't.

But you can send audio files to the Google Speech API and receive a response from it. https://gist.github.com/alotaiba/1730160

For example, you can see this workaround. http://mikepultz.com/2011/03/accessing-google-speech-api-chrome-11/

Also recommend this. Voice recognition on android with recorded sound clip?

like image 35
H3ku Avatar answered Oct 26 '25 06:10

H3ku



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!