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.
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.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
To help users post good questions and use the site effectively we have posted a user guide. Please check it out.
Answers and Comments
4 People are following this question.
Getting audio levels only from Unity
Unity 5 asset bundle low audio volume
Why does my audio cut out completely when I try to edit volume? (Java) SOLVED!
Fading out before load script not functioning correctly?
iOS - Audio Volume Too Loud