Posted on


Using a pretty simple script, we can get Unity3D to respond to the default microphone on a PC and interpret its signal. After attaching that script to a GameObject, referencing MicrophoneInput.spectrum will give an array of floats representing the intensity of frequencies in the sound.

From there, the sky is the frickin limit. Any scene can now respond to the microphone. Properties like scale or rotation can be controlled by the bass line. Use the relative volume to control the speed of an animation and palette-swap on big hits and you get something like this.

or whatever!

here’s some more things I done did with it




About David Grenzowski

i play videogames and then i write about videogames i am mad videogames

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s