I want to plot a waveform from a wave file. I have already parsed the data from the .wav file in terms of amplitudes(in range -32767 to 32767) based on this article ("http://soundfile.sapp.org/doc/WaveFormat/").
Now I want to plot the waveform in Java using JavaFX but I have to achieve it by drawing it pixel by pixel. Therefore, I cannot use the Line object in the JavaFX shape class("https://www.tutorialspoint.com/javafx/2dshapes_line.htm").
I tried researching but I cannot come up with an idea or where to start plotting the waveform using just pixels.
Can anyone guide me in the right direction, please?