Search Unity

Audio Resonance Audio SDK for Unity: Deliver High-Fidelity Spatial Audio at Scale

Discussion in 'Audio & Video' started by michaelberg, Nov 6, 2017.

  1. AngelBeatsZzz

    AngelBeatsZzz

    Joined:
    Nov 24, 2017
    Posts:
    168
    Hi all, how to use the AudioMixer to control the volume of “Resonance Audio”? I can use AudioMixer to control the volume of non-Resonance Audio sounds, but I can't control the volume of “Resonance Audio”.
     
  2. Docaroo

    Docaroo

    Joined:
    Nov 7, 2017
    Posts:
    82
    You can't unfortunately ... all Resonance Audio Sources go directly to the ResonanceAudioRenderer so any mixer effects or volume before the renderer is not applied.
     
  3. AngelBeatsZzz

    AngelBeatsZzz

    Joined:
    Nov 24, 2017
    Posts:
    168
    OK, thanks for reply.
     
  4. brianpkenney10

    brianpkenney10

    Joined:
    Nov 8, 2016
    Posts:
    19
    Hey doing a project for a class and I am getting the following:

    Assets/UdacityVR/Scripts/LightUp.cs(78,21): warning CS0618: `GvrAudioSource' is obsolete: `Please upgrade to Resonance Audio (https://developers.google.com/resonance-audio/migrate).'

    I am trying to upgrade to the Resonance Audio Source...imported the resonance audio package and also changed settings in Unity. Struggling with replacing the code. The warnings are from the following code:

    this.GetComponent<GvrAudioSource>().Play();

    I can't find a .Play() method for Resonance. Help?
     
  5. sasisri

    sasisri

    Joined:
    Jul 24, 2019
    Posts:
    1
    Hi,
    The post is very useful for me, more information shares with me. Thank you.