Announcement

Collapse
No announcement yet.

[Feature request] Mute audio on all PIE clients except one

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [Feature request] Mute audio on all PIE clients except one

    Hi there,

    I'm trying to test audio in multiplayer - specifically, I want to hear what one person is doing from another player's perspective. I don't see any way to do this currently, and can't find any console commands that mute audio, either.

    Can we get this ability? Seems like a no-brainer for audio development.

    #2
    Yeah, you're right that this would be a useful feature for audio development in UE4.

    So one of my first features was to implement a multiple-audio-device feature which is coming for 4.8. Basically the feature was to create a separate audio device for every PIE session. That way, when you tab between different PIE windows, you'll hear the audio from that perspective in the way the client would hear it -- they have their own reverb instances, voice limits, listener positions, etc. A follow up feature that I haven't yet done is to selectively solo which PIE session you want to hear audio from. Thus, you could solo one window, tab over to the other and move around, do actions, and hear the audio from the other PIE session perspective.

    Since it takes up more resources to basically run duplicate audio engines, it defaults to a max number of 2 audio devices -- one that's the "main" audio device (which renders the audio you hear when flying around the editor and real-time audio is turned on), and the other device is the new audio device created when you create one PIE session. If you have more than two PIE sessions (i.e. 3 windows running the game), the extra PIE sessions will fallback and use the main audio device which is sort of the way it is now. You can enable creating a unique audio device for *every* PIE session if you're running more than 2 (up to a max of 8... because apparently we support trying to run 64 PIE sessions on one computer... even though I'm sure that would require a super computer) as an advanced multiplayer feature.

    As for muting audio via console command, doesn't look like that exists. Would be a nice feature to be able to mute/solo sounds per class and pretty easy to do. I'll see if i can find any time to do it.
    Last edited by Minus_Kelvin; 05-01-2015, 06:56 PM.

    Comment


      #3
      We're using Epic's audio solution at the moment, evaluating WWise as an option. It's early for us, so we have R&D to do still before we settle on a choice. But we're doing some quick & dirty audio tests, and testing multiplayer audio is a huge pain.

      Honestly, a simple solution I'd be happy with is to just put a mute console command in - I could even map it to a key so I can quickly & easily mute one client each time I play.

      Comment


        #4
        I just checked in a feature to allow soloing an individual PIE window, should make it out for the next 4.8 release.

        It's easy to use:

        "SoloAudio" Will solo the audio from the current active PIE window, then when tabbing to other windows, you'll only hear audio from the window you solo'd. This will allow you to hear audio from an individual's perspective even though you're controlling different clients.

        "ClearSoloAudio" Will clear the solo'd window and revert back to the normal behavior, which is to solo the currently active PIE window.

        Comment


          #5
          Did this feature actually make it into 4.8? I can't find it...

          Comment


            #6
            Originally posted by YarnBallSoftware View Post
            Did this feature actually make it into 4.8? I can't find it...
            For anyone discovering this with the same question, `SoloAudio` and `ClearSoloAudio` are console commands: Press the '~' key, type in the command, then press 'Enter' or 'Return' key

            Comment

            Working...
            X