LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: blue_tomato on January 29, 2005, 05:47:39

Title: Music visualizer
Post by: blue_tomato on January 29, 2005, 05:47:39
I am trying to make a music visualizer using LWJGL, and need to change teh behaviour of some patterns depending on the sounds playing at the moment.

Is there a way to grab the current audio output?
Title: Music visualizer
Post by: Matzon on January 29, 2005, 10:25:06
I don't think so, using openal - using FMOD you can though. Take a look at the NetTest[url].
It grabs the spectrum from FMOD and then continues to paint it in a secondary thread. The use 'mac' has been doing a player using fmod - his site is at: www.mac-systems.de - however I couln't find the app :( (http://cvs.sourceforge.net/viewcvs.py/java-game-lib/LWJGL/src/java/org/lwjgl/test/fmod3/NetTest.java?rev=HEAD&content-type=text/vnd.viewcvs-markup)
Title: Music visualizer
Post by: blue_tomato on January 29, 2005, 17:56:30
Quote from: "Matzon"I don't think so, using openal - using FMOD you can though. Take a look at the NetTest[url].
It grabs the spectrum from FMOD and then continues to paint it in a secondary thread. The use 'mac' has been doing a player using fmod - his site is at: www.mac-systems.de - however I couln't find the app :( (http://cvs.sourceforge.net/viewcvs.py/java-game-lib/LWJGL/src/java/org/lwjgl/test/fmod3/NetTest.java?rev=HEAD&content-type=text/vnd.viewcvs-markup)

Thanks, it is working now :)

By the way, why use FMOD to play OGG, when you can do it though OpenAL? Sorry for the newbie questions, but seems like these two classes are overlapping..?