I found this sound by capturing a java code example :
combined with a timer, redrawing jPanel9 , and this function (since getLevel () does not work) Link
I have a sound level meter. I hope this helps, since I could not find someone who did it right, this is due to setting some constants (the number of bytes to read and the timing of the redraw) to make it look smooth.
dorxy
source share