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

Assertion Failed error while converting SoundWave to Bytes using ToBytes Node #416

Open
mubashirrehman9 opened this issue Apr 26, 2024 · 1 comment

Comments

@mubashirrehman9
Copy link

I am using audio capture to record sound input from mic and send it to the nodeJS server using socket.io. I did it using a third party plug-in to convert sound wave to bytes that works fine but is not suitable for our use case. So, using ToBytes node from CUBluePrintLibrary.cpp, as soon as the execution hits it throws this assertion failed error.
image
image

@getnamo
Copy link
Owner

getnamo commented May 1, 2024

Conversion function is found here: https://github.com/getnamo/SocketIOClient-Unreal/blob/master/Source/CoreUtility/Private/CUBlueprintLibrary.cpp#L217 Ensure channels and sample rates are filled and that the soundwave is not null.

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

No branches or pull requests

2 participants