I want to build an arduino controlled machine that recognizes if someone is shouting and react to that.
It should messure the the length of the shout.
I thought of something like this:
microphone ->preamp -> arduino
(if sound is going louder than xy start
messure Time, if sound is not louder than xy anymore stop
-> 30% of the messured Time = doing nothing
-> than trigger a Relais for 100% of the messured Time)I hope you understand that, my english isn't that good on Sundays
It seems like an easy thing to do to me, is it?!
Ah btw. i want it standalone, without a PC. Dont know if it makes any difference.
You see I am pretty new to arduino, so maybe you know some existing codes that could be used for it? Or just some general advice how to realize the interpreting of the audio in signal etc.