Setting sound mix class override to 0 volume stops sound from playing

Unreal engine appears to stop the sound if it’s volume is 0, rather than continuing to play it at 0 volume.

You might think this is correct behavior but it is not. There’s a difference between sound that is not playing and sound playing at 0 volume. If I wish to later turn the volume back up while that sound (for example looping music) is still playing, if the volume was simply set to 0 I will be able to hear the music again, but if it has stopped playing I will need to wait for the next play command to begin hearing it again.

This graph is called whenever the volume is adjusted through the game menu. The expected behavior of this graph is to immediately replace the volume of music and sound effects class sound assets. Instead it also will stop assets from playing if the volume of that class is set to 0.

5 Likes

I remember there is a checkbox in either the sound wave asset or the sound cue which determines whether to continue playing sounds which are silent. I think it was called Virtualization or something.
I used that and my music kept playing while silent because of sound mix base volume instead of pausing.

9 Likes

It’s in the sound asset itself. Thank you. This fixes the problem completely. I have checked the virtualize when silent box in all of my music assets and now the volume control works properly. Thanks!

2 Likes

Hi in 4.21 UE4 version the parameter of the WAV file it’s now called Play When Silent.
That resolved my issues, thanks guys !

2 Likes

Thanks for the update :slight_smile:

You’re welcome ! :slight_smile:

Found a different solution for this ( 4.26) without “Play When Silent”. It`s as simple as this:

This isn’t working for me. If I drag the music slider down to ‘0’ in my options screen, then exit the the game, then restart the game, then drag the music slider up again, there is no music until the Start Music command is triggered again from starting a new level or something. It seems that if the music volume is set to ‘0’, then it doesn’t start playing, even when all the checkboxes are set to ‘Play When Silent’. My game releases in a few weeks and I can’t figure this out.
Any help appreciated :slight_smile: