[Closed] How do I test audio attenuation for multiplayer?
I'd like to be able to test the audio falloff for sounds that will play on my character to simulate how they will sound in multiplayer, but I don't want to have to nag someone to play with me every time.
I am able to get multiplayer running on a single PC, but when I switch windows, I also seem to switch listeners to the focused window.
Is there a way to play in one window and listen on the other? That way I could slowly move away from the character whose window I'm listening to while performing attacks and would be able to see if the audio falloff sounds right.
The question has been closed Nov 10 '15 at 07:02 PM by Ben Halliday for the following reason:
The question is answered, right answer was accepted
You are in luck! First, the fact that you can even hear accurate audio between PIE is a brand-new feature (my first at Epic). It used to be that all PIE worlds shared the same audio device and resources, which made for a bad and innacurate experience.
To solo a PIE window (i.e. hear only audio from that window even when you switch contexts), just do "SoloAudio" as a console command in the window you want to solo. If do do SoloAudio on a different window, that new window will become the solo'd window. It's sort of like solo buttons in mixers except there is only ever 1 solo'd window. It'll "un-solo" the other windows.
To clear it (and revert back to soloing on the active context) do "ClearSoloAudio".
Unfortunately, since PIE windows are created/destroyed every time you launch them, you have to re-type SoloAudio every time you launch a PIE window. I haven't yet had time to figure out a way to make the window you want to solo be persistent between subsequent PIE window launches. Probably could re-do the feature as a "SoloAudio X" where X is which player or something.
If you want to hear all audio no matter what window is active (don't recommend this since you'll hear lots of double-trigger and stuff, but it can be useful), I recently added a command "PlayAllPieAudio" but I believe that is only on head-revision right now and not released in a UE4 version yet.
answered Nov 10 '15 at 07:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here