The volume of the microphone input

Hi, i want to make a game which will be controlled by volume of the microphone input. I really don’t know how to get to it. Can you show me where I should implement collection the microphone so that the intensity is received in a range 0 - 1f?

any advice?

up

Don’t bump with answer it will only discourage people click on your answer, also don’t do it so frequently

I been diging in audio system for quite sometime and didn’t find anything related to audio input devices. Explore API refrence you may find something, you probably won’t find levels because UE4 don’t really need that, but if you get microphone buffer and you will be able to read PCM data from microphone you can get compute volume levels by reading it.

Good starting point would be this:

Also look up source of those classes. If you ask me UE4 audio system is not really friendly, it’s very stiff and hard to override anything in it from external module in game project or plugin, it acts like it’s smarter then you :stuck_out_tongue: In roadmap there is point to rewrite whole system: