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
6r0m
(6r0m)
2
and through blueprints too, please
1 Like
I see some time has passed and nobody answered…
Did you manage to find out how?
6r0m
(6r0m)
4
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);