Record voice with Java
问题 I want to record voice using a Java application; I guess this will be basically an applet that will run on client side. But I don't have any idea of how to do it... any ideas? Also, I want to play the recorded voice. I have heard of Java Speech API. Any idea if it can help? 回答1: I am late to the party, but here are the official docs on capturing audio: http://docs.oracle.com/javase/tutorial/sound/capturing.html (And copied directly from the link above here is some sample code to do it:)