# Fading Volume?

**URL:** <https://forum.makecode.com/t/fading-volume/38270>\
**Category:** Help\
**Tags:** extension, music\
**Created:** [July 24, 2025, 6:10pm UTC](https://forum.makecode.com/t/fading-volume/38270 "2025-07-24T18:10:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)\
**Post date:** [July 24, 2025, 6:10pm UTC](https://forum.makecode.com/t/fading-volume/38270/1 "2025-07-24T18:10:05Z")

</div>

Does anyone know how to make volume on a song fade out? I’m trying to do a day/night cycle for my game, RAIDERS, but I’d like it if the day music could fade out and then night music could fade in. Does anyone know how to do this?

---

<div class="post-metadata">

**Author:** ![TheBestialCelestial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thebestialcelestial/32/34092_2.png) [@TheBestialCelestial](https://forum.makecode.com/u/TheBestialCelestial)\
**Post date:** [July 24, 2025, 8:01pm UTC](https://forum.makecode.com/t/fading-volume/38270/2 "2025-07-24T20:01:54Z")

</div>

There’s a block called Set Volume To, you could reduce it slowly that way.

---

<div class="post-metadata">

**Author:** ![not\_a\_lemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/not_a_lemon/32/35289_2.png) [@not\_a\_lemon](https://forum.makecode.com/u/not_a_lemon)\
**Post date:** [July 25, 2025, 2:59pm UTC](https://forum.makecode.com/t/fading-volume/38270/3 "2025-07-25T14:59:02Z")

</div>

Yes, but that block only works when you set the volume BEFORE playing the song.
