how to get the volumes for music, effects and speech in ue 4.27

Hi everybody, I have an option menu where all 4 soundclasses are set. Master, music, effects and speech, so I know how to set them.

Now I have a Talk / Dialog System that fades out the music and effects while people are talking. After the talking is done, it fades music and effects back to normal.

I can do this with absolute values, but I want to do this percentage based on the settings chosen by players in the sound menu.

Is there a way to just get the volume values of music and effects from anywhere in the game ?

kind regards
stucki

In the past, I’ve handled this through the GameInstance. I save the user desired volume settings to file and when the GI comes up, I load them to make them accessible to other parts of the game. Is that what you’re looking for?

1 Like

Yes, i have though about saving the values in variables into the Game instance for myself, but hoped there would have been an easier way to just get them from any blueprint, as you can set them :wink:
Many thx for the answer and your time !!
stucki