I was wondering how sound is kept in memory in Java. I would like access to the amplitude (bit depth) of each sample so that i could tell when the sound recorded starts and ends. Is there a way to do this with a Clip object or in any other way?

Thanks
Jay