code to use voice commands in java


I am developing an academic project to give voice commands to do certain tasks using java 1.4, i am able to record and save wav files, but unable to compare different command and do the appropriate actions.

please tell me how do i understand the command and do the appropriate steps. i dont want to use voice recognition but simple comparison of wav files .
need code to compare wav files in java.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mahesh_qatesterAuthor Commented:
Kindly provide me the answers as soon as possible.
Since its very urgent for me.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

mahesh_qatesterAuthor Commented:
My Code should just compare 2 wav files.
> I am developing an academic project

I'm not doing it for you...

Did you look at the links me and girionis provided?

I know the second link of mine shows you how to do recognition...

We cannot write an academic project for you under the terms of the membership agreement:


 That's why I love Tim's answers ;)
mahesh_qatesterAuthor Commented:
i want to know how to compare wav files not speech recognition. there is a lot of difference between speech reconition and wav file comnparison and tim i guess now thats clear and so should it be for girlonis.
 Well how do you store the speech? I guess in WAV files and therefore you have the soundwave somehow. Recognizing speech involves comparing/contrasting the soundwave of the WAV file with a given pattern essentially it is the same thing (speech recognition and wav files comparison).

  Take a look at the links we posted, they have a few useful examples. If you still do not understand then post again.
>there is a lot of difference between speech reconition and wav file comnparison ...
sure, but the functionality you want IS *speech recognition* ?!
mahesh_qatesterAuthor Commented:
i tried through recognition but the appropriate jsapi is not available which one do u suggest.

i find only free tts but no recognizer??
please suggest.
 What do you mean by saying "not available"? Have you checked Tim's links, they contain several APIs.
The IBM one does recognition, but you need ViaVoice installed too...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.