Mira is a package of C# scripts made to manipulate 3D objects, textures, lights, etc, with sound (FFT) inside Unity engine.
- 1 : Create an empty GameObject and call it "Mira".
- 2 : Drag the script called "MiraFFT" into "Mira" GameObject (as well as an AudioSource if you want to use a static audio file or a microphone as FFT source).
- 3 : Choose the FFT source (audio file, microphone (audio in) or MiraSprayer (OSC)).
- 4 : You can know use Mira scripts by dragging them into GameObjects.
Tested with Unity > 5.x
Unity built-in FFT analysis doesn't work well with the mic input (as you have to create an AudioSource then destroy it after a while in order to avoid performance drop, which leads to "gaps" in the FFT stream). You'd better use OSC input in combination with MiraSprayer app for realtime audio FFT analysis.