x


dynamic audio measuring?

Hello, I am working on a music visualizer type effect for my game. I am using something like this to measure the pitch and volume:

(audio.volume > .5) what ever the function is, etc...

But Ive run into a problem. Since the audio pitch and volume is set in the audio source inspector/code, it remains constant (so if I set the audio volume to .5. even if in the song there is a sudden increase in sound in the actual song, nothing will happen). How can I remedy this?

Also, is there anyway to measure a sudden increase in volume/pitch regardless of the numbers?

Thank you, I know this is an odd question.

more ▼

asked Nov 16 '10 at 12:24 AM

Tyler 2 gravatar image

Tyler 2
1.1k 211 246 264

Your identical thread at http://forum.unity3d.com/threads/67307-Dynamic-audio has already received some replies.

Nov 16 '10 at 04:12 AM Jesse Anders
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5049
x1023
x154
x43

asked: Nov 16 '10 at 12:24 AM

Seen: 1161 times

Last Updated: Nov 16 '10 at 12:24 AM