# Rain sound fade in fade out?

**URL:** <https://forums.unrealengine.com/t/rain-sound-fade-in-fade-out/210817>\
**Category:** FX\
**Tags:** unreal-engine\
**Created:** [March 21, 2021, 1:59am UTC](https://forums.unrealengine.com/t/rain-sound-fade-in-fade-out/210817 "2021-03-21T01:59:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![razmaz51](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/razmaz51/32/710746_2.png) [@razmaz51](https://forums.unrealengine.com/u/razmaz51)\
**Post date:** [March 21, 2021, 1:59am UTC](https://forums.unrealengine.com/t/rain-sound-fade-in-fade-out/210817/1 "2021-03-21T01:59:18Z")

</div>

Hi , so i added a sound cue component for rain sound in a sky blueprint . And when the rain is activated in the bp , i activate the sound cue (and deactivate it for the other weather options like sunny , partly cloudy , etc… , and this works , but the sound abruptly starts and stops . So i tried adding a fade in and fade out node , but once i add that then no sound plays at all. So the first pick with just activate node works but has the abrupt start and stop on deactivate likewise , but when i add the node like in 2nd pic , no sound plays at all . I tried it with the fade in node both in front of the " activate" node and where it is in the 2nd pic , but no sound plays. Am i missing something?

 ![fade in rain.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/c/0/c065e5061b35cfc68249da347d82b61bdc1b2418.png)

---

<div class="post-metadata">

**Author:** ![razmaz51](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/razmaz51/32/710746_2.png) [@razmaz51](https://forums.unrealengine.com/u/razmaz51)\
**Post date:** [March 21, 2021, 2:15am UTC](https://forums.unrealengine.com/t/rain-sound-fade-in-fade-out/210817/2 "2021-03-21T02:15:26Z")

</div>

On the right there , i also tried adding the fades on the " On component activated " and " On component deactivated " options , and the sound does play then , but it dont seem to fade out , just abrupt stop.

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [March 21, 2021, 2:17am UTC](https://forums.unrealengine.com/t/rain-sound-fade-in-fade-out/210817/3 "2021-03-21T02:17:16Z")

</div>

I would work directly into the cue and set up attenuation / a volume level.

You could also keep it starting abruptly and mask the start with a thunder btw.

(crazy, I know,) you could setup for a rain niagara emitter to play a single drop sound any time a drop touches.  
you’d easily be killing the buffer this way, so you’d have to implement a cue pool.

The default sound cue limit was somewhere around 40. So theoretically you could just limit the amount of cues to 20 and have plenty remaining for additional audio.

A single drop sound probably lasts .02 seconds. If even. So the result should be just as convincing.

Niagara audio stuff you’d need.

> **[Audio Effects in Niagara](https://docs.unrealengine.com/4.27/en-US/RenderingAndGraphics/Niagara/HowTo/AudioEffects/)**
>
> How to play audio effects directly from Niagara

The reason I would do this, is that you can have dynamic rain by just changing the surface sound and attenuation / air absorption values on the cues based on the rain drop parameters niagara provides, as well as being able to play a different sound based on the surface type that gets hit. Metal, water, dirt, sand. Etc.

Vs playing the same rain track loop.

As a bonus, you can extend this to a single water drip. Which can be useful for caves.

---

<div class="post-metadata">

**Author:** ![razmaz51](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/razmaz51/32/710746_2.png) [@razmaz51](https://forums.unrealengine.com/u/razmaz51)\
**Post date:** [March 21, 2021, 2:26am UTC](https://forums.unrealengine.com/t/rain-sound-fade-in-fade-out/210817/4 "2021-03-21T02:26:43Z")

</div>

Thanks , any easier way? I mean shouldn’t i be able to just fade it out there?🙂

---

<div class="post-metadata">

**Author:** ![MostHost\_LA](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mosthost_la/32/907035_2.png) [@MostHost\_LA](https://forums.unrealengine.com/u/MostHost_LA)\
**Post date:** [March 21, 2021, 6:58am UTC](https://forums.unrealengine.com/t/rain-sound-fade-in-fade-out/210817/5 "2021-03-21T06:58:44Z")

</div>

Yea, you could do the fade manually by throwing in a timeline and set volume multiplier.  
start with volume multiplided to 0.  
then the play.  
Then the timeline to fade in.

the only other reason I can think of that would keep the engine node from working would be a bad sound cue that isn’t set to loop.  
well that, and… if it’s .26 I believe they made some audio “improvements”…

---

<div class="post-metadata">

**Author:** ![razmaz51](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/razmaz51/32/710746_2.png) [@razmaz51](https://forums.unrealengine.com/u/razmaz51)\
**Post date:** [April 16, 2021, 12:44pm UTC](https://forums.unrealengine.com/t/rain-sound-fade-in-fade-out/210817/6 "2021-04-16T12:44:16Z")

</div>

I found all one has to do is tick the override attentuation settings box in the details , then the sound automatically fades in and out as entering and leaving the sphere radius.
