Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

converting audio file into text file using java

i am developing a desktop application using java. this application is for school kid to teach English, where user can upload some English audio can be in any format which need to be converted into text file. where they can read the text.

I've found some api but i am not sure about them.

http://cmusphinx.sourceforge.net/wiki/

I've seen many question on stackoverflow regarding this but none was helpful. if someone can help on this will be very greatful

thank you

like image 868
Yashprit Avatar asked Mar 05 '12 15:03

Yashprit


People also ask

Is there any Java code to convert audio to text?

There is any Java API's for Converting audio to text, Video to audio, Image to PDF, Captured photo to PDf. So if there is any API's then tell me or Send me.... you should ask on question in one link that is helpful. System.out.println ("---------?????-----------"); java code to convert video to audio....

How to create an object of audioinputstream in Java?

Create an object of AudioInputStream by using AudioSystem.getAudioInputStream (File file). AudioInputStream converts an audio file into stream. Get a clip reference object from AudioSystem.

How do I play audio from a clip in Java?

Play Audio using Clip. Clip is a java interface available in javax.sound.sampled package and introduced in Java7. Following steps are to be followed to play a clip object. Create an object of AudioInputStream by using AudioSystem.getAudioInputStream (File file). AudioInputStream converts an audio file into stream.

What is a sound file format in Java?

A sound file format is represented in the Java Sound API by an AudioFileFormat object. The AudioFileFormat includes an AudioFormat object to describe the format of the audio data stored in the file, and also includes information about the file type and the length of the data in the file.


Video Answer


1 Answers

There are many technologies and services available to perform speech recognition. For an intro to some of the choices see https://stackoverflow.com/a/6351055/90236.

I'm not sure that the results will be acceptable for teaching children English as a second language, but it is worth trying.

like image 165
Michael Levy Avatar answered Sep 30 '22 09:09

Michael Levy