So i've been looking into the java sound api and I can get input,record and play back sounds and i can draw a graph using coordinates or sin.
I want to be able to have a live "Oscilloscope" as such which takes input from the mic and converts it into a waveform which scrolls left over time and when a noise is made the sound (frequency?) is added on to the left hand side of the graph and then goes back to normal when no more noise is made.
how can I convert an array of bytes into a graph?
so far i have a file that can record and play back sound (saved in a buffer not file) and then save it to a .wav and draw a wave .png from the .wav however this isn't a live feed and i'm not sure where to go from here.