I'm working on a little science project, and I really want to record audio from an audio input and a program running on my computer, how to do this in Java? It would be awesome if the bit rate for example is customizable somehow. Files like .mp3 or similar would be awesome, it shouldn't be a problem if it's any different file type, because it could be converted.
I've heard about a Java Sound API but I don't really get how to really record audio with this API.
Thanks in advance, Tim Visée