Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Audio Glitching sound with multiple sounds playing at once

Discussion in 'Audio & Video' started by ashikanath, Mar 14, 2020.

  1. ashikanath

    ashikanath

    Joined:
    Mar 14, 2020
    Posts:
    1
    Whenever I play several sounds at the same time I get glitches in the sound, or some of the sounds play at a lower volume.
    I’m probably doing some noobishly wrong, would love to get a direction as to what that might be. :) :)
     
    Last edited: Mar 26, 2021
  2. gakuhiro

    gakuhiro

    Joined:
    Dec 18, 2019
    Posts:
    3
    It could be a performance issue.
    Have you checked the profiler while running the app? In my experience, that issue happens when fps gets very low, or somewhat unstable.
     
  3. Serinx

    Serinx

    Joined:
    Mar 31, 2014
    Posts:
    788
    Is it the same sound you're playing? When you play the same sound or similar sounds over the top of each other they become amplified and often distorted.
    You need to look into audio mixers and coding an audiomanager that will prevent the exact same sound being played in the same frame.