I am trying to create a simple script that would raise or lower the height of an object based on the volume level of the peak and lows analysis of an audio file. For example if I were trying to make a three band equalizer out of long and short cubes. Could someone point me in the right direction.
What I would like to do is detect low, medium, and high volumes and make the objects active or deactivated based on those detections.
I have no starting script and I think I need to start with being able to read these levels. Thanks in advance.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
4 People are following this question.
Audio mixed, blending on distance ?
Set volume problems
Setting audio volume with horizontal slider (to many AudioSources with different volume)