• 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
0
Question by yann-papouin · Apr 16, 2014 at 08:47 AM · audiowav

Why some audio sounds are not hearable if "3D Sound" is checked ?

I recorded a sound that I want to be played in my Unity scene but I'm not able to hear it. Only a little noise is produced even if the camera audio listener if near the audio source. Note that I don't have this issue with all my recorded sounds, only some of them.

Also note that if I uncheck "3D Sound" in the asset inspector, the sound is perfectly hearable like if it was played with VLC.

Why this is happening?

Please download and test it: unlock.zip

unlock.zip (250.2 kB)
Comment
Add comment · Show 3
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 flamy · Apr 16, 2014 at 08:48 AM 0
Share

if the object with sound source is far away from camera, you cant hear it!

avatar image yann-papouin · Apr 16, 2014 at 09:30 AM 0
Share

"even if the camera audio listener if near the audio source"

avatar image flamy · Apr 16, 2014 at 09:40 AM 0
Share

my bad!

Sorry!

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by grofie · Apr 16, 2014 at 09:31 AM

The actual volume arriving at your speakers depends on the distance between the 3D sound audio source and the audio listener. In the 3D sound settings of the audio source you can setup how this distance should affects the volume: The Volume Rolloff defines how the volume gets reduced by the distance (linear, logarithmic or a custom curve). The Max Distance value determines at which distance the sound cannot be heard anymore. If you cannot hear your sound you should set this value higher first.

I also recomment to turn off the doppler effect since it makes some strange noise on moving objects.

Comment
Add comment · 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
0

Answer by yann-papouin · Sep 02, 2014 at 06:06 PM

Ok I finally found why this sound was not audible. It is due to the Spread parameter that I need to set to 180°.

I think that it could be related to the axis switch caused by 3dsmax.

Comment
Add comment · Show 3 · 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 no9rg · Sep 04, 2014 at 01:15 PM 0
Share

Actually, the problem is within the sound file itself. Try the file attached (I corrected it). The problem is stereo image of original file not in Unity (I'm not sure how advanced in audio you are so I don't go into the details now). If you use it then you don't need to set Spread to hear anything.

I would also like to point that there is not much reason in using stereo, 24 bit, 88.2 kHz sound file, especially for such a short click. It should be in mono (no risking in problems like this). But I put back the attached file in the original format.

unlock2.zip (250.4 kB)
avatar image yann-papouin · Sep 05, 2014 at 07:07 AM 0
Share

I quickly opened your version in Audacity, and I can see that the first waveform has been flipped "vertically".

I'm really interested to know how you did to find this and if you have a link that explained the incidence of this modification.

For the sound settings, I just kept the value I used to record my sounds.

avatar image no9rg · Sep 05, 2014 at 08:42 AM 0
Share

You are right - I flipped it back. Actually - it is the first suspect when sound cancelling happens. And it is easily audible - especially on headphones.

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity says audio does not contain wav format? 0 Answers

Music gapless looping doesn't work 1 Answer

Trying to load and play saved .wav from /Documents iOS 2 Answers

Short sounds sometimes being missed 1 Answer

FSBTool ERROR: Cannot encode file, source format (PCM 32bit) is unsupported. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges