Capture Audio in Mono and 16kHz

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 - WindowsAudio 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). 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++?

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

@ECSEA82 @TobiasStaerk Try this plugin GitHub - Vakarian15/UE4-Google-Speech-to-Text-Plugin: UE4 Google Speech Recognition Plugin