This is a port of an audio visualizer I made over over the course of a few hours back in my junior year of college. It only has a few preset songs for now, one of them being by a good friend Axel Stewart @AxelDoesMusic. The UI was tossed together as an easy way for people to change things without needing the Unity Editor, so it's fairly basic stuff.  Have fun and feel free to leave suggestions if you try it out! WEBGL WORKS NOW!!!!

Controls:

I key: toggle on/off the UI

Everything else should be self explanatory! 

I might update this software if enough people try it out and seem to enjoy it ♥

Download

Download NowName your own price

Click download now to get access to the following files:

AudioVisualizerWindows.zip 20 MB

Comments

Log in with itch.io to leave a comment.

how do i add my own audio

Very cool! How did you get this working on webgl?

I kind of cheated by pre-calculating and saving the values for the audio, then reading off of the  recorded data based on how much the audio clips had progressed. It adds more to storage, but at least it technically brings down computation to O(1) lol

Very clever. What is the reason why the audio visualizer works properly for like a windows build and not web gl? That is my issue. Ive noticed the determinism for a lot of random scripts or something also acts differently on webgl over windows for Unity builds.

(+1)

My understanding is that Unity relies on multi-threading many of its tasks (like getting spectrum data) in order to accomplish these things in real time. Unfortunately, webgl doesn't allow for any multi-threading, so builds that rely on it just kind of don't work properly. As it stands, I couldn't find a way to have unity not try to multi-thread processes like 'get_spectrum_data', so doing the calculations before building seemed to be the best solution at the time. 

I hope this helped at all!