playDescription:
The play executor is used to play a sound: either a beep or a media file.
Parent: execute, then, else
Value (simple form): string specifying sound or file to play
Value (key/value form):
play: string, required, specifying sound (e.g. beep) or file to playfrequency: integer, optional, specifying the frequency of a tone when play is beepduration: time, optional, specifying an amount of time to play the frequency based tone (default: 150ms)
duration has no unit, milliseconds is assumed# simple form
play: (string)
# simple example
play: beep
# key/value form
- play: (string, required)
frequency: (integer, optional)
duration: (time, optional)
# key/value example
- play: beep
duration: 200ms
EXAMPLE:
- name: this is a test
triggers:
- this is a test
execute:
- play: c:\temp\emergency.mp3
Status: ✅ IMPLEMENTED