Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Question Audio volume sometimes muffled/low? (Video Included)

Discussion in 'Audio & Video' started by Razputin, Nov 30, 2020.

  1. Razputin

    Razputin

    Joined:
    Mar 31, 2013
    Posts:
    328
    I have an audio source that plays 2D sounds, as these are the sounds that can be heard regardless of where the player is, one such sound is the "Jump" sound effect. Sometimes when the player jumps though the sound seems to play at a lower, or muffled volume.

    My sounds are being played like this

    Code (CSharp):
    1.                
    2. aS.PlayOneShot(audioClips[i], PlayerPrefs.GetFloat("SFX") * PlayerPrefs.GetFloat("Master"));
    3.  
    During testing "SFX" and "Master" are both set to 1 and I've confirmed this with a log.


    Video starts with me using a shortcut to activate the sound, then ends with me actually jumping to play the sounds.

     
    Last edited: Feb 13, 2021
  2. SimonGIH

    SimonGIH

    Joined:
    Sep 8, 2017
    Posts:
    2
    me too,sometime when overrall sound is too loud the volume will reduce i dont know why. help please
     
  3. Razputin

    Razputin

    Joined:
    Mar 31, 2013
    Posts:
    328
  4. Razputin

    Razputin

    Joined:
    Mar 31, 2013
    Posts:
    328