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. Dismiss Notice

Audio What audio configuration for best audio latency ?

Discussion in 'Audio & Video' started by Kiupe, Apr 6, 2018.

  1. Kiupe

    Kiupe

    Joined:
    Feb 1, 2013
    Posts:
    528
    Hi,

    I'm currently working on a musical game in which the player has to play music with very short and close notes (1/8, 1/16, 1/32) in different BPM (78, 120 etc). Even on iOS beta musician players have reported that the latency is to much important.

    I have already set-up the DSP buffer to "best latency" and tried many audio files configurations like 22Khz, ADPCM/DPCM and Load in Memory / Decompress on Load etc.

    Sounds are played when a touch is detected by implementing the OnPointerDown method. I also tried to use AudioSource.Play() and AudioSource.playOneShot()

    Whatever configurations I tried beta players felt the latency as to much important.

    How do you manage to get the best audio latency ? Is there a specific set-up ? Plugins ? Both ?

    Thanks
     
  2. techblogger911

    techblogger911

    Joined:
    Apr 7, 2018
    Posts:
    3
  3. Kiupe

    Kiupe

    Joined:
    Feb 1, 2013
    Posts:
    528
    Thanks.