Accessing Audio Waveform.

Can unity for instance get the height of a variable based off of the waveform??

For example: Generate 1 cube for each second of waveform and change the height based on the volume of the waveform.

1 Answer

1

http://unity3d.com/support/documentation/ScriptReference/AudioListener.GetOutputData.html or
http://unity3d.com/support/documentation/ScriptReference/AudioListener.GetSpectrumData.html

Awesome! Looking into it!

Could you have it analyze a specific time in the waveform by chance? I know I would have it analyze blocks in seconds with a for loop but how would I goto that specific time to analyze it?