OreCruncher / BetterRain

Based on the BetterRain mod from Wirsbo
20 stars 12 forks source link

Rain sound nullifies background noise? #83

Closed Ariannae closed 8 years ago

Ariannae commented 8 years ago

It began raining while in the Jungle and the background ambience completely stopped when the rain sound began to play. Presence Footsteps continued to play, and I couldn't tell if spot noises continued or not.

Is this intended, a bug, or can it just be changed via adding more sound channels?

OreCruncher commented 8 years ago

Yes, its intentional. Some of the sounds, either biome or spot, will not play when it is raining, day, night, etc. In this particular case the jungle background sound does not play when it is raining.

Ariannae commented 8 years ago

Good to know! Any chance of lowering the volume of sounds while it's raining instead of completely stopping them, or would this lead to performance issues?

OreCruncher commented 8 years ago

I will take this in two parts:

With the recent changes I made to the number of sound channels my thought was to layer the background sounds. Using the Forest as an example, the sound track could be separated out into two different tracks. The first track would be the leaves rustling in the breeze type sound track. The second track would be that of the animals (bird chirps, etc.). Both of these could play at the same time. As it relates to rain the first Forest sound track would continue to play (wind in the leaves), but the second track would stop because birds don't want to be out in rain. This being said I need to get some decent tracks for doing this. The same technique could apply to jungles as well.

Ariannae commented 8 years ago

I think that's what my concern was. Not so much, "Where'd all the wildlife go?", but more of, "It just got super quiet." So I'm in agreement with your proposed idea. I just didn't think that it should get dead silent when the rain started.