# Microphone's audio to float

**URL:** <https://forums.unrealengine.com/t/microphones-audio-to-float/144770>\
**Category:** Audio\
**Tags:** unreal-engine\
**Created:** [May 30, 2020, 2:19pm UTC](https://forums.unrealengine.com/t/microphones-audio-to-float/144770 "2020-05-30T14:19:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Odenir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Odenir](https://forums.unrealengine.com/u/Odenir)\
**Post date:** [May 30, 2020, 2:19pm UTC](https://forums.unrealengine.com/t/microphones-audio-to-float/144770/1 "2020-05-30T14:19:34Z")

</div>

Hi,

Version Unreal 4.23.1

What I’m trying to do is: capture the audio (already auto activated) from the microphone, get the sound (audio envelope?) and get the value. It’s isn’t working. Windows says Unreal is using the microphoone, so it’s working. Envelope value is always zero.

Also tried the “AudioCurveSource”.

I want something like:

player isn’t talking float = 0 and player is talking float = 1

I tried this also, but didn’t work: [https://forums.unrealengine.com/deve…ck-start-guide](https://forums.unrealengine.com/development-discussion/audio/116874-new-audio-engine-early-access-quick-start-guide)

---

<div class="post-metadata">

**Author:** ![ArthurBarthur](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArthurBarthur](https://forums.unrealengine.com/u/ArthurBarthur)\
**Post date:** [May 30, 2020, 9:49pm UTC](https://forums.unrealengine.com/t/microphones-audio-to-float/144770/2 "2020-05-30T21:49:15Z")

</div>

yo there are examples in this project! [Arthurs Audio BPs - Audio - Unreal Engine Forums](https://forums.unrealengine.com/development-discussion/audio/1618651)

---

<div class="post-metadata">

**Author:** ![Odenir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Odenir](https://forums.unrealengine.com/u/Odenir)\
**Post date:** [May 31, 2020, 12:12pm UTC](https://forums.unrealengine.com/t/microphones-audio-to-float/144770/3 "2020-05-31T12:12:44Z")

</div>

> [@ArthurBarthur](#):
>
> yo there are examples in this project! [https://forums.unrealengine.com/development-discussion/audio/1618651](https://forums.unrealengine.com/development-discussion/audio/1618651)

Thank you Arthur! 😃  
I’m downloading the Unreal 4.25 and I will probably upgrade my project to this version too.

---

<div class="post-metadata">

**Author:** ![Odenir](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Odenir](https://forums.unrealengine.com/u/Odenir)\
**Post date:** [May 31, 2020, 8:17pm UTC](https://forums.unrealengine.com/t/microphones-audio-to-float/144770/4 "2020-05-31T20:17:53Z")

</div>

ArthurBarthur, your project is great!

I tried to upgrade my project from 4.23 to 4.25, but I have a lot of bugs, however the audio capture works on 4.25 in my project and works on your project also.  
After spending some time now I know why it wasn’t working on my project (4.23 version).

I did this:

Searched for the file:

E:\UE\_4.23\Engine\Config\Windows then openned the “WindowsEngine” file and **added this line of code** :

* * *

[Audio]  
AudioDeviceModuleName=XAudio2  
; Defining below allows switching to audio mixer using -audiomixer commandline  
AudioMixerModuleName=AudioMixerXAudio2

; Defines a platform-specific volume headroom (in dB) for audio to provide better platform consistency with respect to volume levels.  
PlatformHeadroomDB=-3  
**UseAudioMixer=true**

* * *

It’s working!!! 😃 Very nice!

Now I can do what I want: move the morph targets using the microphone!
