UE4 Editor has a class for rendering sound waves called USoundWaveThumbnailRenderer.
As a test, I used this to render a sound wave to the player’s HUD. Why the HUD? Because the implementation uses UCanvas.
I would like to bring it out of the HUD and into Slate/UMG, but it appears that UCanvas is a different system altogether. This post has a great breakdown of Slate vs. UMG vs. Canvas.
Now I’m thinking about alternatives and looking for ideas and suggestions…
Hey @dan.reynolds, thanks for the response. It’s not really a question about getting data, per se. I have access to the raw waveform data already. It’s more a question about the best way to render (potentially large) amounts of data.
There seem to be artifacts in the render, but as far as I can tell, the code is identical to the thumbnail renderer. If I zoom in, you can really see it:
Hey! Do you keep trying methods to render the waveform? I’m curious about. I’m trying to do the same, but I don’t know where to begin. Any hint will help, thanks!
Already one year later as well, curious if you ever solved this. Tried different ways but still haven’t found a good solution to render waveform to either umg or texture 2D in unreal 5