Hi, I havent found much about the topic so far and so I want to ask the community here.
I want to record the mic input. I know that I can do it with the Audio Capture Component. But I want to do a bit more specific. I know how to control through a button press or other user interaction but what I want is, that the audio will be just recorded if the user says something. Like in Teamspeak, not Push To Talk but voice activation.
I found this video https://youtu.be/LFSxLaSNttQ?si=Yd6abh9FnjTeqKZH&t=267
But unfortunately he doesn’t say a word about attack, decay, sustain and release.
My guess is that these are exactly the parameters that I need to bring together sensibly for my project.
I would like to know more about what exactly they do and exactly where in the editor you set them and how to use them.
In the best case there are examples or tutorials. Unfortunately, as I said, I haven’t found anything about it yet and perhaps you can help me.
I did some more research and did not found anything that helps.
I have to say I already implemented a Voice Activation but it was a bit buggy and I thought that unreal already has everything to achive Voice Activation in an easy way.
I came to the point that everything I need is the envelope Value from the OnAudioEnvelopeValue Event which comes from the AudioCaptureComponent. So I thought carefully about how I could implement this and made a sketch and wrote it down.
I already implemented this and the blueprint code is slimmer and more robust than before.
To give something to the communty I will share my document, perhaps it helps somebody.
But I have to say, I wrote it in german so perhaps you have to translate it.