I was trying to do a personal project where I could visualize the waveforms of an mp3 file and visualize it in a JPanel but I am extremely new to GUI. I found a post that was answered nearly 14 years ago and the answer happened to be the book that I had been reading on how to do it. I hit a massive wall where I can't seem to figure out what to do to draw these waves and this is where I am turning for help.
The original SO question: Display sound (.wav/.mp3) as graph in Java
The book: https://archive.org/details/swinghacks0000mari/page/386/mode/2up (Chapter 10: Building an Audio Waveform Display)
Any help would be greatly appreciated!