Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TFAudioCapture for recording audio #58

Open
eternalfusion opened this issue Sep 4, 2020 · 1 comment
Open

TFAudioCapture for recording audio #58

eternalfusion opened this issue Sep 4, 2020 · 1 comment
Labels

Comments

@eternalfusion
Copy link

After a lot of searching over the Internet I've found solution for capturing audio input (from the mic, I hope) in TFAudioCapture Component. So I made BPs like it was in #27 issue, but it wasn't worked, I guess (using To SoundWave (WAV Bytes) Node). Any examples for this feature? What I potentially did wrong? And could buffer which I got from OnAudioData could be successfully replicated through network?

@getnamo
Copy link
Owner

getnamo commented Sep 4, 2020

I haven't tested this feature in a while, first question: are you getting the OnAudioData event? Is it non-null? It's possible that the recorded data comes out as raw and you need to convert it first from Raw to Wav (https://github.com/getnamo/tensorflow-ue4/blob/master/Source/TFAudioCapture/Public/TFAudioCaptureComponent.h#L42) and then to SoundWave.

If you store the TArray buffer in a struct that can replicate over it should come along for the ride, or use https://github.com/getnamo/udp-ue4, https://github.com/getnamo/tcp-ue4, or https://github.com/getnamo/socketio-client-ue4 to side network the data in a dedicated manner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants