语音到文本:播放消息(MP3),通过它的自我和检索词它的、我和、语音、文本

2023-09-05 01:07:10 作者:低头浅唱﹏内首曲

我有几个MP3文件,这是演讲。我已经使用Android的语音到文本之前,所以我知道它可以存储所说的话。有没有什么办法,我们可以从MP3得到口头语言和显示它的EditText

I have few mp3 files which are speeches. I have used Android Speech to Text before so I know it can store spoken words. Is there any way where we can get the spoken words from the mp3 and display it in a EditText ?

我想打的MP3默默确定的话,但不知道如何做到这一点。我使用谷歌语音引擎。

I am thinking about playing the mp3 silently and identify the words, but have no idea about how to do that. I am using Google Speech Engine.

请帮忙。

推荐答案

还有就是要转换包含说出的话在Android文本的音频文件没有原生的方式。你需要使用一个第三方API来做到这一点,如。

There is no native way to convert an audio file that contains spoken words to text on Android. You'll need to use a third-party API to do this, such as.

A& T公司 Nuance的 iSpeech A&T Nuance iSpeech

也许掌上狮身人面像,虽然你可能有把它写自己的文件输入流端。

And perhaps Pocket Sphinx, although you may have to write the file input stream side of it yourself.

如果你不担心破坏的条款和条件,您可以使用 Chrome浏览器语音API 。

If you're not concerned about breaking terms and conditions, you could use the Chrome Speech API.