# Capture Audio in Mono and 16kHz

**URL:** <https://forums.unrealengine.com/t/capture-audio-in-mono-and-16khz/449311>\
**Category:** Audio\
**Tags:** microphone, unreal-engine, Blueprint, CPP, question\
**Created:** [May 20, 2019, 10:08pm UTC](https://forums.unrealengine.com/t/capture-audio-in-mono-and-16khz/449311 "2019-05-20T22:08:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ECSEA82](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ECSEA82](https://forums.unrealengine.com/u/ECSEA82)\
**Post date:** [May 20, 2019, 10:08pm UTC](https://forums.unrealengine.com/t/capture-audio-in-mono-and-16khz/449311/1 "2019-05-20T22:08:29Z")

</div>

Hi all,

I’m looking for recommendation to capture microphone audio with the following properties:

- sample rate: 16000 Hz
- single channel (mono)

I was able to use the `AudioCapture` component to record microphone audio into a .wav file. I was able to achieve the desired sample rate by changing the target platform setting (e.g. `Platforms - Windows` → `Audio Mixer Sample Rate`). However, it’s my understanding that this setting affect all audio streams, which is not ideal as I don’t want to downgrade all audio to 16000 Hz.

I also figured out how to read the .wav file into an array and convert it from stereo to mono (thanks to Zexus\_ in [this post](https://answers.unrealengine.com/questions/860062/view.html)). However, I would like to eliminate this post-processing step if possible.

Is there any way I can capture microphone audio with a specific sample rate and channel settings directly in Blueprint or c++?

---

<div class="post-metadata">

**Author:** ![TobiasStaerk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TobiasStaerk](https://forums.unrealengine.com/u/TobiasStaerk)\
**Post date:** [October 27, 2020, 9:50am UTC](https://forums.unrealengine.com/t/capture-audio-in-mono-and-16khz/449311/2 "2020-10-27T09:50:01Z")

</div>

@ECSEA82: did you ever figure out how to do this? I need exactly the same. Thanks for any help! Cheers

---

<div class="post-metadata">

**Author:** ![Vakarian15](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vakarian15](https://forums.unrealengine.com/u/Vakarian15)\
**Post date:** [February 14, 2021, 1:55am UTC](https://forums.unrealengine.com/t/capture-audio-in-mono-and-16khz/449311/3 "2021-02-14T01:55:21Z")

</div>

@ECSEA82 @TobiasStaerk Try this plugin [GitHub - Vakarian15/UE4-Google-Speech-to-Text-Plugin: UE4 Google Speech Recognition Plugin](https://github.com/Vakarian15/UE4-Google-Speech-to-Text-Plugin)
