# How do I set a Mic input in Unreal Engine 4 BP (HELP)

**URL:** <https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307>\
**Category:** Audio\
**Tags:** Input, microphone, unreal-engine, voice, Blueprint, question\
**Created:** [August 25, 2020, 6:35pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307 "2020-08-25T18:35:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Debbie\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Debbie\_1](https://forums.unrealengine.com/u/Debbie_1)\
**Post date:** [August 25, 2020, 6:35pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/1 "2020-08-25T18:35:45Z")

</div>

Hey there, First, this is my first time using this Unreal Engine Support thing, so I honestly have no clue on what I am doing, but anyways, to the point!

I am currently working on a horror game, and there are going to be many parts where you hide or need to be quiet,  
so I am making it you will have to be quiet in real life, or else if your mic gets a level of input, (lets say there are 3 inputs, green which is safe, yellow where mic is getting input but will not send a alert, and red where if the mic input is loud, it will send a input to set the jumpscare).  
Lets say you get a red input, how do I make it so it will first, recognize that it is red and not yellow or green, and send a input so it will set off the jumpscare!

Here is a example of what I want it to be like which is done very well in Welcome to the game 2!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/d/a9d7beb158cb1d2c65b27a3cea90eb449a9d19f0.jpeg "Trying to hide from Lucas. (Welcome to the game II)") ](https://www.youtube.com/watch?v=2xT-C6fSMco)

I use Blueprints, so anyhelp will be great since I can not find a way to do this, Thanks!!

pls excuse any spelling errors, in a rush!

---

<div class="post-metadata">

**Author:** ![Okarii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Okarii](https://forums.unrealengine.com/u/Okarii)\
**Post date:** [August 25, 2020, 11:09pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/2 "2020-08-25T23:09:03Z")

</div>

Hopefully this will get you started. there is a plugin that is usually by default enabled called Audio Capture. You can use it to add an audio capture component to your player, and then you will get access to the microphone.

For this example I have turned the activation to auto, and set it to only send the audio to the bus (otherwise I can hear myself through the computer speakers as well).

There is an event that the component gets called On Audio Envelope value that triggers any time the mic changes, note that my guess is this will have a similar overhead to using on tick, as it will most likely be constantly changing. I’ve attached an example gif of the shown print screen changing the red value of my print node.

Edit: You might consider digging through this other forum thread for potentially more information and insight: [[How to use new Audio Capture Component (4.19) to drive game parameters? - Audio - Unreal Engine Forums](https://forums.unrealengine.com/development-discussion/audio/1448799-how-to-use-new-audio-capture-component-4-19-to-drive-game-parameters)][1]

 ![311391-audio.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/a/e9ae22dcad6ec1a5bbf2c836b37c6c8b1f705040.png)

---

<div class="post-metadata">

**Author:** ![Okarii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Okarii](https://forums.unrealengine.com/u/Okarii)\
**Post date:** [August 25, 2020, 11:12pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/3 "2020-08-25T23:12:08Z")

</div>

Me clapping into microphone to change text color:

![311384-audio.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/4/9/649f94f8aa8d14c355bbe600f2bfa120a30ef0bf.gif)

---

<div class="post-metadata">

**Author:** ![Debbie\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Debbie\_1](https://forums.unrealengine.com/u/Debbie_1)\
**Post date:** [November 18, 2020, 1:24am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/4 "2020-11-18T01:24:43Z")

</div>

Hey again, sorry was in the middle of moving and didn’t work on the mic part at the time, however, I just started today!  
Anyway, I think I have an idea but need some help!!  
How do you get it to affect the widget, do you put it in the widget class, because I did but it doesn’t seem to work (as it says it only has a value of 0).  
I am trying to make the mic change colors, so let’s say I talk very loud, I want it to turn from white to red, etc.  
I also made sure my mic was working, so that’s not the issue I think, but can you just show me how to make it change an object in a widget’s color, (for me it’s a mic logo)?

Best Regards!!

---

<div class="post-metadata">

**Author:** ![Debbie\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Debbie\_1](https://forums.unrealengine.com/u/Debbie_1)\
**Post date:** [November 18, 2020, 11:05pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/5 "2020-11-18T23:05:38Z")

</div>

nvm, I was able to get it to work, Thanks a lot man!!  
Ill credit you in my game!!

[https://twitter.com/](https://twitter.com/)

---

<div class="post-metadata">

**Author:** ![POORMARTY](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/poormarty/32/615648_2.png) [@POORMARTY](https://forums.unrealengine.com/u/POORMARTY)\
**Post date:** [March 17, 2021, 3:45am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/6 "2021-03-17T03:45:05Z")

</div>

Hey Debbie! mind sharing how you got it to work? it would sure help

---

<div class="post-metadata">

**Author:** ![Debbie\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Debbie\_1](https://forums.unrealengine.com/u/Debbie_1)\
**Post date:** [April 15, 2021, 7:07am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/7 "2021-04-15T07:07:03Z")

</div>

Sorry, I am rarely on here, you still need help?

---

<div class="post-metadata">

**Author:** ![POORMARTY](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/poormarty/32/615648_2.png) [@POORMARTY](https://forums.unrealengine.com/u/POORMARTY)\
**Post date:** [April 15, 2021, 5:04pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/8 "2021-04-15T17:04:35Z")

</div>

no problem! yeah that would be great!

---

<div class="post-metadata">

**Author:** ![Debbie\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Debbie\_1](https://forums.unrealengine.com/u/Debbie_1)\
**Post date:** [April 16, 2021, 7:43am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/9 "2021-04-16T07:43:31Z")

</div>

Alright so what are you looking for, I just followed his directions and it worked great!!  
Are you trying to get the color-changing thing also to tell the level of the mic, etc?

---

<div class="post-metadata">

**Author:** ![ideerge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ideerge](https://forums.unrealengine.com/u/ideerge)\
**Post date:** [November 23, 2022, 8:54pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/10 "2022-11-23T20:54:28Z")

</div>

doesnt work, on my mac.

---

<div class="post-metadata">

**Author:** ![Almostkitticide](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Almostkitticide](https://forums.unrealengine.com/u/Almostkitticide)\
**Post date:** [March 2, 2023, 4:01pm UTC](https://forums.unrealengine.com/t/how-do-i-set-a-mic-input-in-unreal-engine-4-bp-help/470307/11 "2023-03-02T16:01:42Z")

</div>

hey how did you get the bar to move? I can’t find that bit out anywhere!
