unity3d 音乐播放器插件,带频谱效果
Requires Unity 5.5.0 or higher.
Key Features
- Music Controls
- Music Shuffle
- Play List
- Unity UI built-in features
- Mobile Support
- Audio Spectrums Manager
- Commented source code in C#
- Package Manual
Works with Unity 5 built-in features.
仅供学习交流使用,如有侵权请告知删除。
经典MUSIC算法程序% MUSIC
for iang = 1:361
angle(iang)=(iang-181)/2;
phim=derad*angle(iang);
a=exp(-j*twpi*d*sin(phim)).';
L=iwave;
En=EV(:,L+1:kelm);
SP(iang)=(a'*a)/(a'*En*En'*a);
end