Skip to content

An equalizer made of bars

Updated

Every frame a script reads an Audio Analyzer’s frequency data, splits the lower half into eight bands and scales a bar to each band’s level.

Click once to let the browser start the sound. Then watch the bars jump with the beat. Drag to orbit the camera, scroll to zoom.

An equalizer made of bars

The script is explained step by step in An equalizer made of bars.

Download the project file below, then import it in XR Hub with Projects › New › Import, as described in Projects and templates. It opens in XR Creator with the same scene you see running above, each script already attached to its Behavior entity. From there you can edit the scripts, adjust components and their props, preview your changes, and deploy the result as a world of your own.

EqualizerBars.xrproj