Rob van der Woude's Scripting Pages

Help text for DetectSound.cs

(view help text of DetectSound.cs as plain text)

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


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

page last uploaded: 2022-10-05