posted 15 years ago
I have to make a graph that compares the amplitude and sample number of a music file. I can use AudioInputStream, AudioFormat, and SourceDataLine to get the total number of samples and all that stuff, and I can get a byte array representation of the file, but I don't know how to go through each sample frame and get the amplitude for each of them. Can someone please help???