Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Music Equalizer/Visualizer

Is it possible to develop an audio visualizer in Java (with GL11 and/or LWJGL)? I've not tried anything so far because I didn't know where to start.. I've checked Google and couldn't find anything. I'm wanting the visualizer to look something like [this](https://www.youtube.com/watch?v=MmD3lDkq...ata_player) with the exception that it will be drawn at the top of the screen.I don't mind about any additional libraries that need to be included but the equalizer needs to link up as close as possible I know that it can't be timed exactly.
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 😧


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by AuXFireDec 25, 2014 01:25 AM 5 175 Dec 25, 2014 01:25 AM
Last Post: idb.
[.NET] by Hex HoovesSep 28, 2014 06:18 AM 5 365 Sep 28, 2014 06:18 AM
Last Post: Only3
[Java] by peekaboohzoneApr 15, 2013 09:08 AM 1 84 Apr 15, 2013 09:08 AM
Last Post: Colix