Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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 homer_3 · Oct 29, 2015 at 01:52 AM · audioaudiosourceaudioclipaudiolisteneraudioplay

One sound gets quieter when other is played?

I have 2 audio sources that are equal distance from a listener. One plays the BG music on a loop and the other plays sound effects. Whenever I play a sound effect, the BG music quiets down until the sound effect is played. Is there some way to prevent this?

Comment
Add comment · Show 4
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 HenryStrattonFW · Nov 06, 2015 at 04:55 PM 0
Share

Are you sure the volume of the music is actually being decreased (watch the volume in the inspector whilst the sound effect plays). It may just be audio interference when the sound effect plays that makes the music sound quieter. If its actually having the volume value altered, then I'm unsure what would cause that.

avatar image Dibbie · Nov 06, 2015 at 05:19 PM 0
Share

@HenryStrattonFW - to go off of your point, theres also the "Priority" part, that deter$$anonymous$$es the lower the value, the more importance over another audio clip playing at the same time, it takes. So also make sure those match. At the same time, it could also be a Spectrum thing, where one sound is playing as a 3D sound, so within a radius, and naturally becomes quieter as another sound enters that 3D sound as well.

One thing you could do, if all else fails, is just increase the backgrounds audio Priority to a lower value than your sound effect, so that it will appear as if the background never quiets down, if anything, gets a little bit louder. At that point its a matter of finding the perfect Priority value when a sound effect plays. Or the alternative, increase the Priority value on your audio for sound effects, so it plays at a less importance then your background music.

avatar image HenryStrattonFW Dibbie · Nov 06, 2015 at 05:28 PM 0
Share

Good point, I had not considered the priority values.

avatar image sacredgeometry · Aug 21, 2019 at 06:16 PM 0
Share

Could be lots of things, deliberate ducking, limiting compression on the summed signal of both, phase cancellation. etc.

Without more information it's hard to tell.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by StellarVeil · Aug 21, 2019 at 06:09 PM

In case other ppl run into this problem in the future I'll link to a possible fix I wrote in another post to avoid duplication: https://forum.unity.com/threads/ambient-sound-getting-quieter-when-other-sounds-playing.386595/#post-4881551

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

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.

Follow this Question

Answers Answers and Comments

35 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 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

How to Switch The Audio Clip using button 0 Answers

Problem with playing sound on Trigger-Enter 2 Answers

How to get decibel's value of game's sound? 0 Answers

Audio: -3db automatic attenuation on any audio playing? 0 Answers

play audio from frequency and amplitude file 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