Jump to content



Photo

Audio listener , mixer


  • Please log in to reply
1 reply to this topic

#1 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

  • Flag: ---------

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 07 July 2015 - 01:21 PM

I just had a quick look through Unity and says there is only one listener in a scene.

 

Are you able to access the mixer and add reverb etc.?


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#2 BilboX

BilboX

    Enthusiast

  • Unit3D Pinball Team
  • 433 posts
  • Location:French Polynesia

  • Flag: France

  • Favorite Pinball: Metallica, Addams Familly, Scared Stiff, White Water

Posted 07 July 2015 - 01:43 PM

You can try:

AudioListener al = Camera.current.gameObject.GetComponent<AudioListener>();

Check the validity in between (Camera.current != null etc...).

Volume is static so:

AudioListener.volume = 0.5f;

Then take a look at AudioReverbZone for reverb on a full zone.


UP2