• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by dansav · Mar 14, 2012 at 06:27 AM · audiovolumelistenersource

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,

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by syclamoth · Mar 14, 2012 at 06:37 AM

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dansav · Mar 14, 2012 at 05:48 PM 0
Share

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.

Your answer

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

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 to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Volume rolloff: Distance to listener not changing. 3 Answers

Separate Listeners for Sound FX and Music? 0 Answers

How to Create Separate Volumes 1 Answer

Is it possible to change Audio Manager Volume by script? 1 Answer

Set volume problems 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges