Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

Sending Wwise audio output data to Unity

+1 vote
I have spent a week researching the easiest way to pass audio data from Wwise to Unity in order to create audio visualizations. I find that the documentation on the Wwise SDK and WAAPI is a bit too heavy for my programming knowledge. Does anyone know of existing solutions, libraries, tutorials, git repos, anything that can point me in the right direction as to how I can access the Wwise audiobuffer without having to write my own Wwise plugin? I need to access audio data inside Unity to perform FFT and other processing for 3D audio visualization.

Any help is greatly appreciated.
asked Apr 9, 2021 in General Discussion by Andreas S. (110 points)

2 Answers

–1 vote
you should create your own wwise effect plugin.
answered Apr 21, 2021 by chenggongzhang (1,120 points)
This isn't a helpful answer. Even following the documentation and tutorials, it's unclear how to pass an array of values from a Wwise plugin to Unity.
0 votes

In short, there is no way to access the audio buffer from Unity's C# scripting layer.

You can make a crude spectral visualizer following these steps and repeating for the precision of bands that you would like, but audio buffers are exposed at the plugin level.

If I ever succeed in making an FFT plugin for unity I will post it here, link to my Github, and shout it from the hilltops.

answered Feb 3, 2022 by Corey B. (490 points)