I'm trying to write an audio visualizer. A very simple one to start. Determine when a beat occurs, if so flash a color on the screen based on the intensity of the beat. I think that to do this, I monitor the lower frequency, and when the amplitude goes over a threshold, start the screen flash? I want to do this in Java, is there some library that will allow me to access the sort of info I need for this? Thanks.
no we're not going to spoonfeed you code.
No, I did not ask that. I asked if there was some sort of library that let me get information about sound. I didn't ask for any code...
java's audio api works wonders
here's some code to get you started:
[code]import javax.sound[/code]but really it's not a trivial thing, you'll need to read up on it to fully understand it.
[B]Edit:[/B]
you can [I]code something yourself[/I] to get the info you need, no library required! [URL]http://www.gamedev.net/reference/articles/article1952.asp[/URL]
or you can steal this guy's code- [url]http://code.compartmental.net/minim/javadoc/ddf/minim/analysis/BeatDetect.html[/url]
[QUOTE=Soda;26768768]
[code]import javax.sound[/code][/QUOTE]
I did not know that existed. Thank you.
Sorry, you need to Log In to post a reply to this thread.