XenoGuard 4.0 Documentation
Beep Sound
ActionStep Reference » Windows » Audio » Beep Sound
The ActionStep 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
- Open the Windows node in the Workspace Explorer.
- In the Audio node, select the Beep Sound ActionStep.
Parameters:
The ActionStep 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] |
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.