AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

Is it possible to get spectral analysis into Unity?

0 支持
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!
andymule (280 ポイント) 2014 6/5 質問 General Discussion

回答 2

+1 支持
 
ベストアンサー
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.
Mathieu J. (Audiokinetic) (7,120 ポイント) 2014 6/13 回答
andymule 2014 6/24 選択
0 支持
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.
Sébastien C. (760 ポイント) 2017 4/13 回答
...