Beep

From AutoIt Wiki

Jump to: navigation, search

Beep plays a beep back to the user. Adapted from AutoIt docs.

Contents

Syntax

Beep([frequency [, duration]])

Parameters

frequencyHertz frequency of beep.(Optional)
durationLength of beep in milliseconds.Default of 1000ms.(Optional)

Frequency

The frequency may be set between 37 and 32767 inclusively. 500 Hz by default.

Return Value

Beep() always returns 1 regardless of success or failure.

Example

Beep(200,500)

Related Functions

SoundPlay

Personal tools