Java Voice Biometric - java

I want to develop an application based on Voice Biometric Recognition.
Specifically, I want to develop an application which will record a voice from the telephone, and identify the speaker. If the same person calls again it will recognize the voice. Like other Biometric applications do here my need is to do a voice biometric. Are there any URLs or examples which will help me. I searched but not able to find a solution.
FreeSpeech is a text-independent speaker verification system that verifies a caller's identity
I want to achieve the above one FreeSpeech Recognition in my application.
Is it possible to do the below things by using any Open Source.
The individual records a voice print, then
The system keeps track of the voice prints and can distinguish recordings from live speech
If yes, can you please provide me a URL or example which will help me.
Well, I got the light from This Url to achieve the above task but not able to get the expected out put.

After wasting 20 to 25 Hrs, Finally I got the solution by using MARF Framework.
I got the sample app from the http://sourceforge.net/projects/marf/files/Applications/%5Bf%5D%20SpeakerIdentApp/0.3.0-devel-20060226/
And for now, it's working fine for me. This links is very useful for me to make the sample app executable. http://marf.sourceforge.net/

You can take a look at this previous SO post in which various Java Speech Recognition Engines are described such as Sphinx.

I am not an expert on this domain so please take my answer as is , it's not an authorative one... I think you have different ways to achieve your goals :
- finding a Java library is one , the most natural one
- recording the voice in Java then applying one of the several algorithms available for such job , you may find many research papers dealing with that subject
- depending from the architecture choices, you may find different libraries implemented in C dealing with voice signal, using JNI or JNA is one way to deal with C/C++ libraries, Web Services or CORBA are other ways to achieve this....
HTH
Jerome

Related

command (voice) recognition based project

I am searching for a way to recognised pre-registered voice commands in java for a project and i couldn't come up with a good approach yet, I have looked into fast Fourier and different ways to treat wave files but i can't decide how i should go about implementing it.
the idea is simple, the user will record his/her voice with a short phrase and then when the phrase is repeated the application should recognise which command is issued.
any ideas or suggestions would be most welcome
thanks in advance
Voice recognition is an unsolved problem that multibillion dollar companies are spending millions and years to solve. Simply said, if you're only at the FFT level, you aren't going to do it. Instead, you should be looking for libraries that do it for you. One is even included in Android- check out http://developer.android.com/reference/android/speech/RecognizerIntent.html

AJAX Chat How to add voice with Java?

Ok so I use Ajax Chat (http://sourceforge.net/projects/ajax-chat/) and it is a great chat script. I use the MyBB Integrated version and all is well. What I am wanting to know is how I could add voice capabilities.
Basically each channel would be similar to a Yahoo chat room and have a talk button. This way someone could talk and the rest of the room could hear.
Flash is NOT an option, and I tried RED5 with it and the results were terrible. Bad quality, couldnt hear half of the time, etc.
I have searched and searched and searched and all I find is calling, IP-to-IP, etc.
I would like to do this in JAVA if possible which is not one of my best languages. I do have root access to my server and it is linux (CentOS). So what I really need is a point in the right direction on how to do this.
Thanks in advance.
The best way to do this is to use the Java Speech API. You can find out more information about this at this site. This question was already answered actually in this link.

Device to Device Communication in Android

I have been tasked for university to program a mobile phone application. I have oppted for two mobiles to communicate with each other via message.
I would like the application to connect the mobile to the internet to send the message and the other mobile to connect to the internet to recieve the message.
I am using Eclipse IDE.
Does anyone have any ideas for good examples of similar application source code so I can develop my application using appropriate protocols.
I would appreciate any advice and I am certainly not looking for someone to give me "the answer" I am really looking forward to getting stuck in. Though I have never touched an android phone let alone programed one. So some advice would be amazing!!
Thanks
Si
Get used to this site: http://developer.android.com/index.html Learn it, love it. It's full of useful information. The Videos section gives plenty of live talks about what exactly Android is among other topics. One of the first things you need to do is go to the SDK section. It gives a detailed guide on how to get setup. The Dev Guide is great for learning more about Android and how to program Android apps (not just Java programs) especially while just getting started. Resources is full of code examples and articles on specific issues and Reference is the entire platform documentation. #Matthew Willis has already given a helpful link from the Dev Guide.
Look around the site, download and install the SDK, and come back whenever you have any questions. Good Luck!
Before you determine the technical solution you need to figure out how any two devices that don't know about each other will communicate.
In your case, where you seem to be attempting to develop some kind of peer-to-peer solution you most probably will need some kind of server in between where your phones send messages to and poll for messages.
If you are using WIFI, you would have each phones IP address and could configure each phone to communicate with each other directly.
Once you determine your architecture then something simple like http may be enough to communicate.
You might check out What is Android? to get an idea of the frameworks/libraries that are available on Android. Reading the links in the left pane at that site lead you through a nice series of articles about Android.
In terms of ways for two devices to communicate, they are many and difficult to enumerate. In general you will have much better luck with specific questions here than you will with broad questions.
You might be interested in reading about C2DM for pushing messages to a device; if not, there are many other alternatives involving polling.
GCM CSS is probably your best bet
https://developer.android.com/google/gcm/ccs.html

Whats the best way to start programming for my non-smartphone?

I have a general old-fashioned phone that has no special app system and uses Java (I assume ME) for the few applications you can use on it.
This is still a decent userbase and I'd like to start programming for this type of phone. I already know basic Java theory and syntax, so.. where do I get started for programming for non-smartphones?
Best programming environment for Java ME IMO is Eclipse with EclipseME. Includes lots of built-in stuff about packaging your midlets etc. The SonyEricsson wireless toolkit is great for PC-based testing and debugging, but don't forget on-device testing!
If you don't know much about Java ME's lifecycle, then get reading as widely as you can, and try lots and lots of examples. Start with the JSR-118 (MIDP2) javadocs; you'll want these open on your desktop at all times while coding.
Don't waste too much time with the form-based user-interface; I recommend either rolling your own using Canvas, or read about LWUIT.
You can do all sorts in Java ME and target a very broad range of handsets. HTTP capability is guaranteed, so you can hook up to a public web service, or create your own using something like Google Appengine.
Finally, you can release your app very easily on somewhere like Get Jar. Don't be put off by those who say "no owners of Java ME handsets want apps", you'll find the most popular user bases on this site will be users in countries such as India and Indonesia.
Good luck!
I would start with a book on J2ME and work from there.
Try Beginning J2ME: From Novice to Professional.
You could also download the J2ME SDK and play around with the example they give.
For tutorials have a look at the stackoverflow question https://stackoverflow.com/questions/584923/do-you-know-a-good-j2me-tutorial as mention in my comment.
I started with writing simple Flashlight application (choose how much seconds screen will remain lit) in NetBeans ME. And other app which I mange was Countdown with some graphics and sound. After that I found limitations too much annoying and now I'm waiting for my Android phone.
in short:
If you want to try it out - you don't need to buy books. There are plenty of tutorials around.
But, if you want to start deep development - don't waste time.

How to get video and audio streams from web cameras with Java?

How can I get video and audio streams from web cameras with Java (in a cross-platform way)?
For example, we have a computer with 3-4 USB web cameras; we want to get their streams and make them visible in the user interface. How can we perform such a thing? I need code for a simple app which would find ALL cameras on the computer and let us select camera to wach. Can any one, please share such one?
With java media framework JMF or FMJ
Here is an example with JVM
I see your comment about the solution needing to be "pure" java, but this is really "nearly" impossible. You will need to use some sort of native library for accessing the devices, with that being stated; I suggest that you look at Xuggler as your solution. Xuggler supports Windows, Mac, and Linux and they also offer example code for handling audio and video. Lastly the library is FREE.
Webcam capture example: http://xuggle.googlecode.com/svn/trunk/java/xuggle-xuggler/src/com/xuggle/xuggler/demos/DisplayWebcamVideo.java
While Xuggle does not have an example of microphone capture, you can find samples on the mailing list or you could use code written by the packet-mulitbroadcaster project found here: https://code.google.com/p/packet-multibroadcaster/
You can try my solution. It uses OpenCV to capture the image and jetty server to transmit it via WebSocket. The example has three classes and it will be easy to understand.
Now I can send only video, but I'm working on audio aswell.
I'd use flex. It can be relatively easily integrated with java backend.
UPD:
Pure Java needed
Then you should consider JavaFX solutions. I'm not a big expert in javafx, I've only written some basic test applications, but I'm sure it's a modern way of solving described problem with pure java.

Categories

Resources