This page looks best with JavaScript enabled

Can You Hear Me Now - Trying and Failing to Use Unity's Microphone

 ·   ·  ☕ 1 min read

I’ve never used Unity’s Microphone API’s before. Let’s explore them together and get lost while we make something cool! Our goal is to create a frequency graph that can show the amplitude of different frequencies within our microphone (we won’t be successful in building it).

There are two main parts to this project:

The first is a class that can accept Microphone input from a selected device and store that information into some sort of storage we can access from the rest of our code.

The second part is a visualizer that can take the stored microphone data and do something interesting with it. For this we’ll just adjust the scaling of cubes based on amplitude.

Unity’s Microphone class documentation:

The support ticket I was leaning on during this for help can be found here:

Join the World of Zero Discord channel:

Sam Wronski
Sam Wronski
Maker of things and professional software engineer. Lets make something awesome together!