Solved

code to use voice commands in java

Posted on 2003-12-09
15
1,942 Views
Last Modified: 2008-02-01
Hi,

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.

thankyou,
mahesh
0
Comment
Question by:mahesh_qatester
  • 4
  • 4
  • 4
  • +1
15 Comments
 

Author Comment

by:mahesh_qatester
ID: 9902729
Kindly provide me the answers as soon as possible.
Since its very urgent for me.
Thanks,
Mahesh.L
0
 
LVL 35

Expert Comment

by:girionis
ID: 9902740
0
 
LVL 35

Accepted Solution

by:
TimYates earned 100 total points
ID: 9902742
0
 

Author Comment

by:mahesh_qatester
ID: 9902775
Hi,
My Code should just compare 2 wav files.
Regards,
Mahesh.L
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9902783
> 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:

http:/help.jsp#hi105

Tim
0
 
LVL 35

Expert Comment

by:girionis
ID: 9902795
 That's why I love Tim's answers ;)
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 35

Expert Comment

by:TimYates
ID: 9902820
>_O
0
 

Author Comment

by:mahesh_qatester
ID: 9902826
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.
0
 
LVL 35

Expert Comment

by:girionis
ID: 9902846
 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.
0
 
LVL 4

Expert Comment

by:nil_dib
ID: 9902856
>there is a lot of difference between speech reconition and wav file comnparison ...
sure, but the functionality you want IS *speech recognition* ?!
0
 

Author Comment

by:mahesh_qatester
ID: 9902870
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.
0
 
LVL 35

Expert Comment

by:girionis
ID: 9902881
 What do you mean by saying "not available"? Have you checked Tim's links, they contain several APIs.
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9902947
The IBM one does recognition, but you need ViaVoice installed too...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Java asynchronous logging 4 50
Java passing arguments (type error) 2 48
split string containing \r\n in Java 46 38
session migration servlets 2 26
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now