La section Questions et réponses de la communauté Audiokinetic est un forum où les utilisateurs de Wwise et de Strata peuvent poser des questions et répondre à celles des autres membres de la communauté. Si vous souhaitez obtenir une réponse de la part de l'équipe de soutien technique d'Audiokinetic, veillez à utiliser le formulaire de Tickets de Soutien.

Is it possible to get spectral analysis into Unity?

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!
demandé 5-Jun-2014 dans General Discussion par andymule (280 points)

2 Réponses

+1 vote
 
Meilleure réponse
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.
répondu 13-Jun-2014 par Mathieu J. (Audiokinetic) (7,120 points)
sélectionné 24-Jun-2014 par 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.
répondu 13-Avr-2017 par Sébastien C. (760 points)
...