views:

21

answers:

1

I am working on a simple media player in Java. I wanted to add some little visualizer, but I cannot seem to find any help online. Has any of you ever done a visualizer in Java? Or any links to good reference material would be greatly appreciated.

Thank you.

A: 

http://download-llnw.oracle.com/javase/1.5.0/docs/api/javax/sound/sampled/DataLine.html

here you can use the method getLevel() to retrieve the volume of line and accordingly you can program your animation.

and have a look at http://www.jsresources.org/

org.life.java