Electret Microphone Arduino

Hello, you can measure the time that the impulse is given to the microphone? Example, I breath for 5 seconds, it is measure these 5/2 in a variable?

Maybe...

If the sound is loud enough to pick-up you can use an [u]if-statement[/u] to take some action when the sound is detected (or when no sound is detected).

You can use [u]millis()[/u] to find (and save) the time the sound starts and the time when the sound stops. Or, you could measure the time when a sound starts, and the time when the next sound starts, etc.

DVDdoug:
Maybe...

If the sound is loud enough to pick-up you can use an [u]if-statement[/u] to take some action when the sound is detected (or when no sound is detected).

You can use [u]millis()[/u] to find (and save) the time the sound starts and the time when the sound stops. Or, you could measure the time when a sound starts, and the time when the next sound starts, etc.

I would like to show in practice how it would work?