bee [sound]
bee[+] wavefile
bee frequency duration
sound - one of Windows sounds (0 to 4). Integer. Default: 0. Use -1 for PC speaker beep (if exists and enabled).
wavefile - sound file path or filename. String.
frequency - sound frequency, Hz. Integer value 37 through 32,767.
duration - sound duration, ms.
Options: + play synchronously (wait until sound stops). Default: start sound and continue macro.
Syntax2: Supported are only files with .wav extension. If wavefile not found, plays default sound. If wavefile is "", stops currently playing sound.
Syntax3: Usually, if there is no PC speaker, simulates it using the soundcard.
See also: Play (play audio file of any format)
bee ;;default sound bee 1 ;;play one of default sounds (0 to 4) bee "c:\m\moo.wav" ;;play "c:\m\moo.wav" file bee "" ;;stop sound Play "c:\windows\media\chimes.wav" synchronously: bee+ "$Media$\chimes" Play file; use variable: str s = "$Media$\chimes.wav" bee s