Hi everyone,

I'm new to Java programming, and I'm trying something a little complicated. I wish to use Java write an applet to listen to a microphone or line in port and wait for the input signal to reach positive saturation.

When the signal has saturated, I would then like to record the next 0.5 seconds of audio data samples into a numerical array.

Please may somebody explain how I can achieve this, if it is possible.

After that, I know what I want to do with the numerical array and how to do it.

I am using JDK 1.6.0_13

Thank you to everyone who can help.