How to mute/lower sound in Media Player
Ok, a lot of people seem to have the problem of NOT playing sound, I have the opposite problem:
In my scene I have a number of TVs playing a video; I want them to be muted, until the player triggers something and the audio starts again. How can I do that?
I'm guessing the sound mix could be of some use, but I don't get how to combine it in my blueprints.
asked Feb 17 '16 at 10:50 AM in Blueprint Scripting
I'm not hugely knowledgeable about the media player specifically (gmpreussner is currently the expert) but I can help you with general mixing.
The sound that you are playing with the media player is a USoundWave type which has all the power of other audio, including sound classes and sound mixes.
Unfortunately, the UE4 mix system isn't well documented (I'm working on getting that documented!) but briefly, the way it works is:
Some cool things about the mix system is that you can have any number of sound mixes at the same time and their sound-class adjustments "mix" together in the way you'd expect. You can also have sound mixes trigger automatically based on volume thresholds in a sound class (sort of like a ducking system).
For another quick workaround see my posts on the second page of this thread: https://forums.unrealengine.com/development-discussion/audio/1396568-4-18-control-volume-of-media-sound-component/page2
answered Apr 12 '19 at 06:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here