Solved

code to use voice commands in java

Posted on 2003-12-09
15
1,920 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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
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:

746 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

13 Experts available now in Live!

Get 1:1 Help Now