Java sound visualizer

2019-03-04 06:02发布

问题:

i'm trying to make a java sound visualizer, but I have absolutely no idea on how to get the bytes from the audio extracted, immediately after they are procressed in real-time. I could synchronize the program with an wav file, but that is not what I want to do, I want to generate the sound with the program, then play it, without saving it anywhere.

Thanks for the help!

回答1:

This article can help you understand the structure of sound files: http://codeidol.com/java/swing/Audio/Build-an-Audio-Waveform-Display/