What is the way of getting data from Audio Capture Component

Hello.

How can I get raw data using Audio Capture Component?
All fields in class are private, as I see that data stored in
TArray<float> CaptureAudioData;

I don’t have experience with Synth Component, may be data could be somehow taken from there.
So, any help would be great.
Thanks!

1 Like

and through blueprints too, please

1 Like

I see some time has passed and nobody answered…
Did you manage to find out how?

For voice capture - my suggestion is to grab Engine Voice Module with IVoiceCapture interface and call there GetVoiceData on tick for example.


TSharedPtr<class IVoiceCapture> VoiceCapture = FVoiceModule::Get().CreateVoiceCapture("", VoiceSampleRate, VoiceNumChannels);

VoiceCapture->GetVoiceData(VoiceBuffer, VoiceBufferSize, OutAvailableVoiceData, OutSampleCounter);