I’ve created an AudioInput plugin for Unity based on some code that Will Goldstone in the IRC channel was graciously given.
It of course requires Unity Pro, but I hope you all can get to enjoy it at least during the duration of 3DU where OTEE is giving away temporary Pro licenses. You can use it only to get input based on the volume of the default input for Mac OS X set up in the System Preferences. After importing the plugin, just use AudioInput.Volume and you are good to go.
I did not make a Windows version of the plugin, so you will need to implement that on your own to make a Windows build using AudioInput.
Would it be possible to use this as an audio clip, streaming speech? WOuld be a kind of nice way to get players talking in a multiplayer game, if it set as mono of course???
I have no way of using this at this time, but thanks anyway! I had a lot of fun blowing out candles and stuff on my DS with Wario Ware, and this would be great for that kind of thing (as described at the wiki link), and a lot more.
Thanks for making this plug-in! In the script I only see a method to get Volume. Is getting the Volume the only function of this plug in? Can I get the pitch of the audio input per frame with this plug-in as well?
Anyways, it seems like this AudioInput thing is just reading the mic input, right? If that’s the case then it’s completely unnecassary to use as it’s now build in to Unity. Search for the Microphone class in the unity docs.