- Home /
Determine If player Is Shouting into microphone
I was not really sure how to word that so hopefully the title is clear?? But basically I'm wondering if there is a simple way to set up a bool something like:
public bool playerIsShouting = false;
And then check the microphone volume through a float or integer so that if the microphone volume input is very loud I can have an audio clip play that says "There is no need to shout !"
Answer by getyour411 · Dec 09, 2016 at 05:38 PM
From what I could tell that method just seems to do a short sampling, I need to deter$$anonymous$$e if the player is shouting into the microphone so I can access that with a bool, I have voice input commands and I want to deter$$anonymous$$e if the player is shouting,
There is no built-in "IsShouting" bool; you can build that yourself by using the concepts in the link
Yes I get that, but so far I have been unable to get a bool to stay true for a duration of time that will be useful for what I need. :(
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
(C#) A better way to limit actions to once per button press? 2 Answers
Double tap mechanics and axis inputs 3 Answers
C# HUD axis button display 0 Answers