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.

0 votes
Unity's own sound engine provides:
 
float[] f = new float[1024];
AudioListener.GetSpectrumData(f, 0, FFTWindow.Hamming);
 
This doesn't seem to work for accessing sounds played through Wwise (which makes sense enough). 
 
Anyone have a method of spectral analysis for Unity incorporation?
 
Thanks!
in General Discussion by andymule (280 points)

2 Answers

+1 vote
 
Best answer
Not out of the box.  The only way would be to write your own native Wwise plugin and add it to the Unity+Wwise plugin by recompiling.  You can check the SDK doc in the section "Going Further", we detail the steps to write a Wwise plugin.
by Mathieu J. (Audiokinetic) (7.1k points)
selected by andymule
0 votes
Hi andymule,

Did you succeed in your quest of the spectrum ? I'm looking for the same feature and would like to know if you find another solution than the plugin one as I would like to avoid native code as much as possible to keep the project cross platform.

Thanks for your time,

Sebastien C.
by Sébastien C. (760 points)
...