Page 1 of 1

How to use the ambient noise?

PostPosted: 02 Apr 2017, 16:23
by Oliver_Buo
How to use the ambient noise?
What do I have to adjust here for values.
For me, it always sounds somehow no matter what I adjust .... :|


sound.JPG
ambient noise

Re: How to use the ambient noise?

PostPosted: 02 Apr 2017, 18:16
by brmbrmcar
What values do you wish to change? I believe that most are meant to be between 0 and 1.

Re: How to use the ambient noise?

PostPosted: 02 Apr 2017, 19:36
by VNS
Personally I don't use the ambient noise, I use
{l Code}: {l Select All Code}
play_sound("sounds/rain.wav");
as a script.
Ambient sound is more like a way to constantly play a sound, such as rain or a saw.
"Distance Factor" is going to be a bit hard to explain in a formula. The higher the number is, the closer you need to be to the ambient sound trigger. 1 is the max capacity. My recommended values are: "0.001" (Sound can be heard from around 75 blocks away), and "0.01" (Sound can be heard from around 10 blocks away). So, all in all, this determines how much you want to hear the sound from a distance.
"Distance Bias" is the 'fade' from the sound. Setting the distance bias to 1000 means the sound will slowly fade away and by the time it reaches the 'length' of the sound (shown above,) the sound will then just disappear. Setting the distance bias to 0 means the sound will equally fade away depending on how far you are from it, also that accords to the Distance Factor.

It's a complicated recipe to get it going so that's why I don't use it. Hope my explanation above helps.

Re: How to use the ambient noise?

PostPosted: 02 Apr 2017, 22:12
by Tobbi
I am not sure this is even properly implemented yet.

Re: How to use the ambient noise?

PostPosted: 03 Apr 2017, 18:36
by Oliver_Buo
thank u all.... :)