Announcement

Collapse
No announcement yet.

Audio capture component submix record

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

    Audio capture component submix record

    Heya,

    So in 4.20 I can record audio capture fine using the start and stop Recording Output. The only thing is I can't figure out the right combination of having the audio capture component "Output to Bus Only" and still record the audio. Ive tried sending to the submix and Pre/post effect bus sends but I guess I have something wrong.

    Thanks!

    #2
    Oh just in case this question comes up. I want to record the audio but not hear it in the app so I don't have a feedback loop for someone using speakers.

    Comment


      #3
      Originally posted by yankijp View Post
      Oh just in case this question comes up. I want to record the audio but not hear it in the app so I don't have a feedback loop for someone using speakers.
      In order to do this, you will probably need to have a Gain Submix Effect on a downstream Submix. If your output volume is 0, nothing is going to render. So you'll need to affect the audio AFTER it was recorded and BEFORE it goes to the Master Submix.
      Dan Reynolds
      Technical Sound Designer || Unreal Audio Engine Dev Team

      Comment


        #4
        Hi there, what is Gain Submix Effect? I don't seem to have it (see the attachment). Thank you!


        Comment


          #5
          Originally posted by Illia Statkevych View Post
          Hi there, what is Gain Submix Effect? I don't seem to have it (see the attachment). Thank you!

          Answered in the other sticky thread, pasting here too for future searchers or something:

          An EQ submix preset with just the single default band and settings below should do it!

          freq = doesn't matter
          bandwith = max(10)
          gain = min(-90)

          Using a dynamics processor-submix, you could also set it to gate mode, and tune your threshold so nothing ever gets past it.

          Comment


            #6
            If it helps anyone, I found that setting "output to bus only" in both the audio capture component and the sound source bus the capture component is outputting to is necessary to stop mic being played back through the system audio output.

            Edit: while this does stop sound from being played, it also stops the audio capture from happening in the first place. As Dan alludes to, this prevents the sound also from being "recorded".

            I have to admit I find the array of audio assets at play here somewhat confusing - submix, source bus, source bus effect chains, pre- and post-bus sends, gain submix effects, downstream submix - if anyone has a map of how all these things interact with one another I'd be very grateful.

            Edit 2:

            Try doing this, it seems so far to have worked for me (I think I'm still getting a valid FFT spectrum from mic input, and no speaker output). See attached pics.
            1. Create a submix effect preset of the "SubmixEffectSubmixEQPreset" class. (Is class the right word here? Perhaps it's a struct or enumeration...)
            Click image for larger version

Name:	SubmixEQ.png
Views:	97
Size:	47.8 KB
ID:	1673140
            2. Edit the details panel of the submix effect preset you just created.
            Click image for larger version

Name:	SubmixEQ_Details.png
Views:	68
Size:	27.4 KB
ID:	1673141
            3. Override the master submix to use this submix effect preset in blueprint.
            Click image for larger version

Name:	SubmixEQ_Override.png
Views:	70
Size:	95.5 KB
ID:	1673142

            I put this logic in the begin play event of the actor which contains my audio capture component for no good reason, I suppose it could go anywhere. But perhaps a useful technique would be to attach it to the input that enables microphone input. For example if there's a push to talk key, that key press could apply this submix preset to the master submix, then the key release could un-apply this submix preset to the master submix.

            Now as I understand it all sounds, including the mic input, will be subject to this equalizer submix, which in my case effectively mutes everything. I would prefer to apply this submix only to the mic input submix, which I tried to do by adding it as a child to the submix which receives sound from the sourcebus which my audio capture component sends mic input to (god in heaven why is this so convoluted?) but that did not work.
            Last edited by TrunkMusic; 10-11-2019, 04:10 PM.

            Comment

            Working...
            X