Norm Radder wrote:Sorry, I was asking what do the values in the bytes represent? 4 bytes to an int, 2 bytes to char, or what?
They should represent a signed linear value. The number of bits per sample and endian-ness (byte ordering )can be learned using:
targetLine.getFormat().getSampleSizeInBits() and targetLine.getFormat().isBigEndian()
Edit: I didn't realize that you actually specified these values in AudioFormat format = new AudioFormat(44100, 16, 1, true, true). I think I would have used constants to make it obvious what 16, true, and true were specifying.