Hi there,
does a solution exist to read the decibel value of an input through the iPhone mic?
Some code examples or plugins?
Greetings,
Thomas
Hi there,
does a solution exist to read the decibel value of an input through the iPhone mic?
Some code examples or plugins?
Greetings,
Thomas
Prime31 has an audio recorder plugin which would allow you to do it.
Unity itself has no way to access the mic / have audio input on any platform
Just make a variable lets say "bool/var myInputPressed", test in update for getting that Input and than use that variable in FixedUpdate. Atleast that solved the problem for me in my games. bool myInput; void Update(){ myInput = Input.GetKey("space"); } void FixedUpdate(){ //use my Input }
– GamerLordMat
I originally had it in Update() but when it's put in Update() the camera would jitter because the character's movement is based around Rigidbody2D, if I switch it back it's be all jittery again. Is there any way I could put it in Update() without it being Jittery. Also, Interpolate doesn't work for me
– Skeeall13