Yeah I reckon it's possible in Java. You need to load in the audio file using something like an AudioInputStream. I was able to use that to render a visual representation of the bytes within the audio stream. This is only partly right though because a good visualizer represents the loudness and frequency spectrum of a sample, according to Wikipedia at least. I haven't looked into loudness but to get the frequency of a sample you need to use a FFT function, I'm pretty sure their are libraries out there to do this. Hope that helps! I'll keep trying to write my own, we'll see how that goes 😧
|
Java
Music Equalizer/Visualizer |
|
|
