my dog learned polymorphism
The moose likes Other JSE/JEE APIs and the fly likes Audio to Text conversion API? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Audio to Text conversion API?" Watch "Audio to Text conversion API?" New topic

Audio to Text conversion API?

Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
Hi all,
guys i was intrested to know if there is an API to convert and audio data to text data using java?
i have looked at the java Speech API but i'm not sure of what it i understood it converts text into audio data.
and if there is an API the converts audio data to text data in java ,does it support localization like Arabic language?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Java Speech has two parts: speech synthesis (i.e., generation) and speech recognition (which is what you want). Sun only provides the interfaces, but no actual implementation. There are a number of implementations for synthesis, but precious few for recognition. And those that do recognition are either commercial, or simply attempt voice-control of applications (which means recognizing very short phrases, not full sentences). So I'm afraid what you ask does not exist or is very expensive. Speech-to-Text is a very hard problem, and it's unlikely that anything will come out as open source. A listing of some existing projects and products can be found here.
Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
thanks for replyig,
i've been looking at the VoiceXML technology.can't decide till now if it what i'm looking for.anyway do i need to learn about Java API for XML processing to use VoiceXML in my applications?
Mahmoud Hadad
Ranch Hand

Joined: Jan 09, 2006
Posts: 67
don't know.i'm so confused about this.i want to manipulate a DB over the phone line and to detect DTMF tones ,so i saw that VoiceXML can give me that capability and saw that there is a VoiceXML interpreter in java called JVoiceXML which supports other java API's like JSAPI.anyway what should i be using to output a speech to the end user on the phone line and to take input from the end-user?
i will be using JVoiceXML first to interpret my VoiceXML documents then JSAPI ,or Java Sound API ?
I'm using the RXTX API for communicating with my modem.
really i'm so confused about this as i don't know where am i heading at ,so i would be gratefull for any help.
Mahmoud Hadad
Dean Ka Jones

Joined: Apr 28, 2012
Posts: 1
You can use google transcription also for audio to text or voice to text conversion
I agree. Here's the link:
subject: Audio to Text conversion API?
It's not a secret anymore!