Hi,
is it possible to get the microphone level via Unity iPhone ( may be Advanced ? ) - and if so, how would you do that?
Explenation / Why do I want this?
Well, I want to use the microphone as input trigger. Some possible scenarios:
Example 1:
I want to count how often a person knocks the table in a specific time interval - lets say 2 seconds. So if one knocks 3 times it should open Scene 3. (2 times->scene 2 etc.).
Example 2:
Other example could be : You get score by knocking very fast. The faster you knock the more score you get.
Example 3:
principe of like highstriker/ring the bell. Like in example 2 (knocking very fast the table) but after a while you knock one time very loud to fix the score.
Questions:
How do I get the current input level of the microphone? Do I need to code a plugin to get it work? Is there any example code? Is it possible to get the microphone level by native unity calls?
I would be glad to hear anything to get me further. Links, Examples, Explenations, what ever!
Expirience:
I’m a newbie in Unity3d but have a lot of experience in ObjectiveC and C++. I am used to OpenAL.
I hope any one can help me! Thank you very much in advance!