DetectSound.exe, Version 1.01 Detect sound input on default microphone before detection period expires Usage: DetectSound.exe [ timeout ] [ /Q ] Where: timeout detection period in seconds (0,5..600; default: 10) /Q Quiet mode: no messages except result Credits: Based on source code by Wendy Zang https://social.msdn.microsoft.com/Forums/vstudio/en-US /72f769f3-1465-402a-b090-86d0ce0530c5 /c-console-application-how-to-detect-the-mic-input #3a1a664c-db49-4152-a2bd-080a03287b9f Notes: This program uses Microsoft's speech recognition technology to detect sound, so it will be sensitive to speech and yells, but less so to other noises like clapping or whistling. Decimal separator for timeout may be dot or comma. Return code 0 if sound is detected within the timeout period, 1 if not, or -1 in case of errors Written by Rob van der Woude https://www.robvanderwoude.com