2

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!

4
  • What platform? Desktop Java? Web applet? Android? Commented Dec 22, 2013 at 7:13
  • Windows, desktop java and/or applet, not android Commented Dec 22, 2013 at 8:11
  • Your question leaves me a bit confused: Are you trying to visualize audio that's being played from, e.g., a WAV or MP3 file ("how to get the bytes from the audio extracted"), or do you want to play and visualize programmatically generated data ("I want to generate the sound with the program")? Commented Dec 22, 2013 at 8:47
  • I want to play and visualize the programatically generated data Commented Dec 22, 2013 at 12:28

1 Answer 1

7

This article can help you understand the structure of sound files: Build an Audio Waveform Display

Sign up to request clarification or add additional context in comments.

2 Comments

Your link died, any chance you have something now? It would be good if you could improve your answer

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.