x


Audio Sources and Listeners low sound volume problem

I have an iphone mp3 that is being loaded at runtime using WWW from a local file. The sound is very low but I don't know why.

The audio.volume =1.

I've read some info about whether the sound is 2D or 3D but that seems to be something you set on import -- in this case I am importing it on the fly so I don't see a way to set that.

I want the sound to be independent of the distance from the listener. And I want the volume to be the same loudness as it would be playing something from the music (ipod).

Thanks,

more ▼

asked Mar 14 '12 at 06:27 AM

dansav gravatar image

dansav
373 104 131 154

(comments are locked)
10|3000 characters needed characters left

1 answer: sort newest

You may have noticed the first paramater in WWW.GetAudioClip:

threeD: Use this to specify whether the clip should be a 2D or 3D clip- the .audioClip property defaults to 3D.

Set this to false, and it will declare the sound a 2D clip, instead of a 3D one as default.

more ▼

answered Mar 14 '12 at 06:37 AM

syclamoth gravatar image

syclamoth
14.8k 7 15 80

Cool. I didn't even realized there was a WWW.GetAudioClip. I was just assigning the data to an audio clip. Now it's working great. Thanks.

Mar 14 '12 at 05:48 PM dansav
(comments are locked)
10|3000 characters needed characters left
Your answer
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:

x1027
x74
x54
x27

asked: Mar 14 '12 at 06:27 AM

Seen: 1038 times

Last Updated: Mar 14 '12 at 05:48 PM