I would like to know if Unreal Engine 4 is supporting microphone inputs and if yes how can i create one ? Im working on a project (game) that voice recognition is important and dont know and i dont have idea from where to start creating it… It is with blueprints or C++ if there is another forum about it please post it it will be a big help for me. Thanko you very much!! ( btw sorry for my english)
To do something with the audio capture component with a 3rd party plugin, you’d write a source effect to get the raw audio from the mic component and feed it to whatever other lib you are using for voice recognition.
The github link will work if you’ve linked your Epic Games account with your Github account.
Otherwise, yes, you can use the Audio Capture Component in 4.19 Preview–however, it’s designed for driving game parameters off of audio input amplitude values, not for recording. Looking at the github link should provide a model for how one might build the input into their own plugin, as the OP seemed to want.
If I make a constant sound (like an “Ahhhhhh…”) into the microphone, the audio capture component stops capturing my sound after a second or two and dips down until I stop making a sound and start making a new sound. Is there any way to have it constantly register the sound I’m making over a larger period of time?
This is behavior that is due to your microphone drivers and is common on headset microphones. Sustained vocalizations are misinterpreted as ambient noise and your headset ducks the volume. We have this problem on our Logitech headsets at work.
I’ve been trying to find out how to recover the audio data from my microphone using AudioCaptureComponent.
How would I go about catching the data from **AudioCaptureComponent **in cpp?
Apparently **AddAudioBufferListener **in **SynthComponent **would be what I need but it’s not implemented.
I have a plugin ready to send that data to aws transcribe I’m just completely clueless on how to get that data…