XenoGuard Documentation

Beep Sound

Actions » Windows » Audio » Beep Sound 

The action Beep Sound produces a specified beep tone within a given period of time and frequency. The lowness or highness of the generated tone (pitch) is determined by the frequency value being set.


[-] Hide
  1. Open the Windows node in the Workspace Explorer.
  2. In the Audio node, select the Beep Sound action.

Parameters:

The action has the following input parameters:


name Description
Frequency [Hz]
Specifies the frequency of the beep sound to be played in Hertz.

The allowed frequency range: 37 - 20000 Hz

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Type [Variable, Parameter, Enum]
Allowed Values [Unsigned Number]
Duration [ms]
Specifies the length of the tone in milliseconds.

The allowed duration range: 100 - 5000 ms

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter, Enum]
Allowed Value [Unsigned Number]

Information The Beep Sound produces a higher pitch tone as the frequency value increases. A lower pitch tone is produced when the frequency value decreases.

Example 1 (Generate a beep tone when an error occurs):

This example produces a beep tone after checking if the directory contains any files other than text files and the looping statement is aborted. As a result, it then indicates an error message via Message Box


See other audio operations:

Audio File
Speech Output